From 5724c1a42f37299079e99353ae6dbd58dd158ce2 Mon Sep 17 00:00:00 2001 From: GabinL21 <67428953+GabinL21@users.noreply.github.com> Date: Tue, 29 Oct 2024 16:53:16 +0100 Subject: [PATCH] SONARPHP-1553 Prevent bots from creating tickets (#1292) --- .github/workflows/PullRequestCreated.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/PullRequestCreated.yml b/.github/workflows/PullRequestCreated.yml index f0b1cc652..339b7932f 100644 --- a/.github/workflows/PullRequestCreated.yml +++ b/.github/workflows/PullRequestCreated.yml @@ -13,6 +13,7 @@ jobs: # For external PR, ticket should be created manually if: | github.event.pull_request.head.repo.full_name == github.repository + && github.event.sender.type != 'Bot' steps: - id: secrets uses: SonarSource/vault-action-wrapper@v3