Debian Codegraph @

.github/workflows/pr.yml

raw symbols SCIP
1 name: pr
2 permissions:
3 contents: read
4 on:
5 pull_request:
6 jobs:
7 automerge:
8 if: github.actor == 'cadobot[bot]' && !github.event.pull_request.draft
9 runs-on: ubuntu-latest
10 steps:
11 - name: Generate Bot Token
12 uses: tibdex/github-app-token@021a2405c7f990db57f5eae5397423dcc554159c # v1.7.0
13 id: bot
14 with:
15 app_id: ${{ secrets.APP_ID }}
16 private_key: ${{ secrets.APP_PRIVATE_KEY }}
17 - name: Automerge Bot Pull Requests
18 run: gh pr merge --auto --squash "${{ github.event.pull_request.html_url }}"
19 env:
20 GITHUB_TOKEN: ${{ steps.bot.outputs.token }}