Skip to content

Commit

Permalink
Merge pull request #32 from ImperialCollegeLondon/fix_automerge_check
Browse files Browse the repository at this point in the history
Fix: Use correct check in auto-merge workflow
  • Loading branch information
alexdewar authored Jul 18, 2024
2 parents 804d7b5 + b016b8f commit 6e3344f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ permissions:
jobs:
auto-merge:
runs-on: ubuntu-latest
if: ${{ "{{" }} github.actor == 'dependabot[bot]' || github.actor == 'pre-commit-ci[bot]' {{ "}}" }}
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
run: gh pr merge --auto --merge "$PR_URL"
Expand Down

0 comments on commit 6e3344f

Please sign in to comment.