Skip to content

Clean up and maintenance #1

Clean up and maintenance

Clean up and maintenance #1

name: Auto-merge Dependabot
on:
pull_request:
types:
- opened
branches:
- 'main'
permissions:
pull-requests: write
contents: write
jobs:
auto-merge:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- uses: tibdex/github-app-token@v1
id: generate-token
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
- uses: peter-evans/enable-pull-request-automerge@v3
with:
token: ${{ steps.generate-token.outputs.token }}
pull-request-number: ${{ github.event.pull_request.number }}
merge-method: squash