[fix-reviewers-lilli] testing #172
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] | |
# When a new revision is pushed to a PR, cancel all in-progress CI runs for that | |
# PR. See https://docs.github.com/en/actions/using-jobs/using-concurrency | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
gerald: | |
# Don't re-run if only the title or body changes | |
if: github.event.action != 'edited' || github.event.changes.base != null | |
runs-on: ubuntu-latest | |
steps: | |
- uses: Khan/gerald@fix-reviewers-lilli | |
env: | |
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}' | |
ADMIN_PERMISSION_TOKEN: '${{ secrets.KHAN_ACTIONS_BOT_TOKEN }}' |