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