Skip to content

Commit

Permalink
Merge d99a4c2 into 9eff898
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdstein authored Jul 9, 2023
2 parents 9eff898 + d99a4c2 commit f5378a8
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
name: Dependabot auto-merge
on: pull_request

on:
pull_request:
merge_group:

permissions:
pull-requests: write
contents: write

jobs:
dependabot:
automerge:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
Expand All @@ -21,7 +24,7 @@ jobs:

- name: Enable auto-merge for Dependabot PRs
if: ${{contains(steps.metadata.outputs.update-type,'version-update:semver')}}
run: gh pr merge --auto --merge --squash "$PR_URL"
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit f5378a8

Please sign in to comment.