Skip to content

Commit

Permalink
Update auto-merge.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rkansal47 authored Nov 13, 2023
1 parent e840d2b commit d355b65
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ permissions:
jobs:
dependabot:
runs-on: ubuntu-latest
if: ${{ github.actor == 'pre-commit-ci[bot]' && github.event_name == 'pull_request'}}
if:
${{ github.event_name == 'pull_request' &&
github.event.pull_request.user.login == 'pre-commit-ci[bot]'}}
steps:
- name: Auto-merge PR
run: gh pr merge --auto --merge "$PR_URL"
Expand Down

0 comments on commit d355b65

Please sign in to comment.