Skip to content

Commit

Permalink
Merge pull request #54 from ImperialCollegeLondon/github-approve-prs
Browse files Browse the repository at this point in the history
Update auto-merge.yml
  • Loading branch information
AdrianDAlessandro authored Aug 1, 2024
2 parents 3b667a2 + d10900b commit a8f2f1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' || github.event.pull_request.user.login == 'pre-commit-ci[bot]' }}
steps:
- name: Enable auto-merge for Dependabot PRs
- name: Enable auto-merge for Dependabot and pre-commit-ci PRs
run: |
gh pr review --approve "$PR_URL"
gh pr merge --auto --merge "$PR_URL"
Expand Down

0 comments on commit a8f2f1f

Please sign in to comment.