Change auto-merge strategy to squash for Dependabot PRs #1494
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: PR Automation | |
| # on: | |
| # pull_request_target: | |
| # types: [ready_for_review, opened, reopened] | |
| # permissions: | |
| # contents: none | |
| # issues: write | |
| # pull-requests: write | |
| # jobs: | |
| # add-reviewers: | |
| # runs-on: ubuntu-latest | |
| # if: ${{ github.event.pull_request.user.type != 'Bot' }} | |
| # steps: | |
| # - name: Request reviewers | |
| # env: | |
| # GH_REPO: ${{ github.repository }} | |
| # GH_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | |
| # PRNUM: ${{ github.event.pull_request.number }} | |
| # PRAUTHOR: ${{ github.event.pull_request.user.login }} | |
| # run: gh pr edit $PRNUM |