Skip to content
Open
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
51 changes: 51 additions & 0 deletions .github/workflows/automation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# 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: # zizmor: ignore[dangerous-triggers]
issue_comment:
types:
- created
issues:
types:
- assigned
- labeled
- opened
- reopened
- unassigned
- unlabeled
pull_request_review_comment:
types:
- created
pull_request_target:
types:
- assigned
- closed
- edited
- labeled
- opened
- reopened
- review_request_removed
- review_requested
- unassigned
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 }}
12 changes: 0 additions & 12 deletions .github/workflows/call-contributor-issue-comment.yml

This file was deleted.

12 changes: 0 additions & 12 deletions .github/workflows/call-contributor-pr-reply.yml

This file was deleted.

11 changes: 0 additions & 11 deletions .github/workflows/call-manage-issue-header.yml

This file was deleted.

11 changes: 0 additions & 11 deletions .github/workflows/call-pull-request-target.yml

This file was deleted.

14 changes: 0 additions & 14 deletions .github/workflows/call-update-pr-spreadsheet.yml

This file was deleted.

10 changes: 0 additions & 10 deletions .github/workflows/community-contribution-labeling.yml

This file was deleted.

13 changes: 0 additions & 13 deletions .github/workflows/unassign-inactive.yaml

This file was deleted.

Loading