fix(stepfunctions-tasks): scope down BatchSubmitJob permissions to specific job definition #116582
Workflow file for this run
This file contains hidden or 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
| # Approve PRs with "auto-approve". mergify takes care of the actual merge. | |
| name: auto-approve | |
| on: | |
| pull_request_target: | |
| types: [ labeled, unlabeled, opened, synchronize, reopened, ready_for_review, review_requested ] | |
| jobs: | |
| auto-approve: | |
| if: contains(github.event.pull_request.labels.*.name, 'auto-approve') | |
| runs-on: ubuntu-latest | |
| permissions: | |
| pull-requests: write | |
| steps: | |
| - uses: hmarr/auto-approve-action@v4.0.0 | |
| with: | |
| github-token: "${{ secrets.GITHUB_TOKEN }}" |