From 0ec48736465237be1a979d9bacb7a3682c71d20a Mon Sep 17 00:00:00 2001 From: Sean Holung Date: Wed, 22 May 2024 14:46:08 -0400 Subject: [PATCH] Only run automerge if pulumi-bot (#11884) --- .github/workflows/automerge-workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/automerge-workflow.yml b/.github/workflows/automerge-workflow.yml index 6f3150d444da..c29d193366db 100644 --- a/.github/workflows/automerge-workflow.yml +++ b/.github/workflows/automerge-workflow.yml @@ -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: