Skip to content

Commit

Permalink
Merge pull request #98 from ThanatosGit/workflow
Browse files Browse the repository at this point in the history
Change auto merge from commit author to pull request author
  • Loading branch information
ThanatosGit authored Nov 7, 2023
2 parents cab36ed + 12e9385 commit c38b11c
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.event.pull_request.user.login == '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 c38b11c

Please sign in to comment.