Skip to content

Commit b7cf233

Browse files
committed
Fix artifact-links: only run when CI was triggered by pull_request (skip push events)
1 parent 1647074 commit b7cf233

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/artifact-links.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ jobs:
88
artifacts-url-comments:
99
name: Add artifact links to PR and issues
1010
runs-on: ubuntu-latest
11+
# Only run if the CI workflow was triggered by a pull_request
12+
if: ${{ github.event.workflow_run.event == 'pull_request' }}
1113
steps:
1214
- name: Add artifact links to PR and issues
1315
uses: tonyhallett/[email protected]

0 commit comments

Comments
 (0)