QoL: Turn on automatic commit of changesets #2439
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Gerald - Notify and Request Reviewers On Pull Request | |
'on': | |
pull_request: | |
# ready_for_review isn't included by default, so we add it here to have this | |
# workflow re-run when a pr is converted from "draft" to "not draft". We | |
# also add "edited" to re-check when the base branch is changed. | |
types: [opened, synchronize, reopened, ready_for_review, edited] | |
jobs: | |
gerald: | |
# Skip this workflow on dependabot PRs. Don't re-run if only the title or body changes | |
if: github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]' && (github.event.action != 'edited' || github.event.changes.base != null) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: Khan/actions@gerald-pr-v3 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
admin-token: ${{ secrets.KHAN_ACTIONS_BOT_TOKEN }} |