Skip to content

Commit

Permalink
Only run automerge if pulumi-bot (#11884)
Browse files Browse the repository at this point in the history
  • Loading branch information
sean1588 authored May 22, 2024
1 parent 12418d2 commit 0ec4873
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/automerge-workflow.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
jobs:
automerge:
if: github.event.pull_request.head.repo.full_name == github.repository
if: (github.event.pull_request.user.login == 'pulumi-bot') && (github.event.pull_request.head.repo.full_name == github.repository)
name: Automerge Workflow
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 0ec4873

Please sign in to comment.