Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions .github/workflows/automation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# This file is generated by scripts/generate-automation.js from automation-registry.yml.
# Do not edit it by hand - edit the registry and run:
# node scripts/generate-automation.js
#
# Caller template: copy this file to .github/workflows/automation.yml in a consumer repo.
# No edits are needed - the on: block is the exhaustive union of every enabled automation.

name: Automation
on:
pull_request_target:
types:
- review_requested
- labeled
- opened
- assigned
- unassigned
- closed
- reopened
- edited
- review_request_removed
issue_comment:
types:
- created
issues:
types:
- opened
- reopened
- labeled
- unlabeled
- assigned
- unassigned
pull_request_review_comment:
types:
- created
schedule:
- cron: 1 0 * * 1
workflow_dispatch: {}
permissions:
contents: write
pull-requests: write
jobs:
automation:
name: Run automations
uses: learningequality/.github/.github/workflows/automation.yml@main
secrets:
CONTRIBUTIONS_SHEET_NAME: ${{ secrets.CONTRIBUTIONS_SHEET_NAME }}
CONTRIBUTIONS_SPREADSHEET_ID: ${{ secrets.CONTRIBUTIONS_SPREADSHEET_ID }}
GH_UPLOADER_GCP_SA_CREDENTIALS: ${{ secrets.GH_UPLOADER_GCP_SA_CREDENTIALS }}
LE_BOT_APP_ID: ${{ secrets.LE_BOT_APP_ID }}
LE_BOT_PRIVATE_KEY: ${{ secrets.LE_BOT_PRIVATE_KEY }}
SLACK_COMMUNITY_NOTIFICATIONS_WEBHOOK_URL: ${{ secrets.SLACK_COMMUNITY_NOTIFICATIONS_WEBHOOK_URL }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
11 changes: 0 additions & 11 deletions .github/workflows/call-pull-request-target.yml

This file was deleted.