major(deps): update module github.com/google/go-github/v79 to v80 #203
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: automerge | |
| on: pull_request | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| dependabot: | |
| runs-on: ubuntu-latest | |
| if: github.actor == 'dependabot[bot]' | |
| steps: | |
| - name: Fetch metadata | |
| id: metadata | |
| uses: dependabot/fetch-metadata@08eff52bf64351f401fb50d4972fa95b9f2c2d1b # v2.4.0 | |
| with: | |
| github-token: ${{ secrets.BOT_PAT_TOKEN }} | |
| - name: Approve request | |
| id: approve | |
| run: gh pr review --approve ${{ github.event.pull_request.html_url }} | |
| env: | |
| GH_TOKEN: ${{ secrets.BOT_PAT_TOKEN }} | |
| - name: Enable automerge | |
| id: automerge | |
| run: gh pr merge --rebase --auto ${{ github.event.pull_request.html_url }} | |
| env: | |
| GH_TOKEN: ${{ secrets.BOT_PAT_TOKEN }} | |
| renovate: | |
| runs-on: ubuntu-latest | |
| if: github.actor == 'renovate[bot]' | |
| steps: | |
| - name: Approve request | |
| id: approve | |
| run: gh pr review --approve ${{ github.event.pull_request.html_url }} | |
| env: | |
| GH_TOKEN: ${{ secrets.BOT_PAT_TOKEN }} | |
| - name: Enable automerge | |
| id: automerge | |
| run: gh pr merge --rebase --auto ${{ github.event.pull_request.html_url }} | |
| env: | |
| GH_TOKEN: ${{ secrets.BOT_PAT_TOKEN }} | |
| cbrgm: | |
| runs-on: ubuntu-latest | |
| if: github.actor == 'cbrgm' && contains(github.event.pull_request.labels.*.name, 'auto-merge') | |
| steps: | |
| - name: Enable automerge | |
| id: automerge | |
| run: gh pr merge --rebase --auto ${{ github.event.pull_request.html_url }} | |
| env: | |
| GH_TOKEN: ${{ secrets.BOT_PAT_TOKEN }} | |
| ... |