Skip to content

Cancel GitHub token refresh at the end #382

Cancel GitHub token refresh at the end

Cancel GitHub token refresh at the end #382

name: Auto-merge Dependabot PR
on: [pull_request_target]
permissions:
pull-requests: write
contents: write
jobs:
auto-merge:
if: github.actor == 'dependabot[bot]'
runs-on: ubuntu-latest
steps:
- name: Auto-merge Dependabot PRs
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_URL: ${{ github.event.pull_request.html_url }}
run: gh pr merge --auto --squash "$PR_URL"