Skip to content

Commit

Permalink
Change auto merge from commit author to pull request author
Browse files Browse the repository at this point in the history
  • Loading branch information
ThanatosGit committed Nov 7, 2023
1 parent e1889d0 commit eaec58e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/dependency.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ permissions:
jobs:
dependency:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' || github.actor == 'pre-commit-ci[bot]' }}
if: ${{ github.actor == 'dependabot[bot]' || github.event.pull_request.user.login == 'pre-commit-ci[bot]' }}
steps:
- name: Enable auto-merge for Dependency PRs
run: gh pr merge --auto --merge "$PR_URL"
Expand Down

0 comments on commit eaec58e

Please sign in to comment.