From 912badadd4caff443369ff37d49969995d3e4f09 Mon Sep 17 00:00:00 2001 From: Michael Keller Date: Tue, 14 May 2024 13:35:12 +1200 Subject: [PATCH] CICD: Restrict Artifact Comment Workflow to only Run on Pull Requests. Signed-off-by: Michael Keller --- .github/workflows/artifact-links.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/artifact-links.yml b/.github/workflows/artifact-links.yml index 48f3b6bde..b544f919e 100644 --- a/.github/workflows/artifact-links.yml +++ b/.github/workflows/artifact-links.yml @@ -19,6 +19,7 @@ jobs: - name: Add artifact links to PR and issues + if: github.event.workflow_run.event == 'pull_request' uses: tonyhallett/artifacts-url-comments@v1.1.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}