Repository navigation
range-diff: rebase old series onto new base to reduce upstream "noise" #1838
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
| name: Auto-approve Dependabot Pull Requests | |
| on: [pull_request_target] | |
| permissions: | |
| pull-requests: write | |
| jobs: | |
| auto-approve: | |
| if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/github-script@v9 | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| script: | | |
| await github.rest.pulls.createReview({ | |
| owner: context.repo.owner, | |
| repo: context.repo.repo, | |
| pull_number: context.payload.pull_request.number, | |
| event: "APPROVE", | |
| }); |