Skip to content

Commit

Permalink
Update auto-merge.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
warting authored Oct 30, 2022
1 parent 2cb9d8b commit 47e43d4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,11 @@ jobs:
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/[email protected].2
uses: dependabot/[email protected].4
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Enable auto-merge for Dependabot PRs
if: ${{steps.metadata.outputs.update-type == 'version-update:semver-patch'}}
run: gh pr merge --auto --rebase --delete-branch "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
GITHUB_TOKEN: ${{secrets.AM_TOKEN}}

0 comments on commit 47e43d4

Please sign in to comment.