Skip to content

Commit

Permalink
fix ci (#344)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdstein committed Jul 9, 2023
1 parent 9eff898 commit 25d0c09
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 25d0c09

Please sign in to comment.