From c04271fc4f6871b3027cb7fd654b0b837206b854 Mon Sep 17 00:00:00 2001 From: Denis Rouzaud Date: Thu, 21 Nov 2024 14:58:20 +0100 Subject: [PATCH] Call build_artifact_comment.yml only for PRs --- .github/workflows/build_artifact_comment.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build_artifact_comment.yml b/.github/workflows/build_artifact_comment.yml index e953850d3f90..7296ba88189f 100644 --- a/.github/workflows/build_artifact_comment.yml +++ b/.github/workflows/build_artifact_comment.yml @@ -17,6 +17,7 @@ concurrency: jobs: on-success: + if: github.event.workflow_run.event == 'pull_request' permissions: pull-requests: write