CICD: Restrict Artifact Comment Workflow to only Run on Pull Requests.
Signed-off-by: Michael Keller <mikeller@042.ch>
This commit is contained in:
parent
1c0fe2fa1f
commit
912badadd4
1
.github/workflows/artifact-links.yml
vendored
1
.github/workflows/artifact-links.yml
vendored
@ -19,6 +19,7 @@ jobs:
|
|||||||
|
|
||||||
|
|
||||||
- name: Add artifact links to PR and issues
|
- name: Add artifact links to PR and issues
|
||||||
|
if: github.event.workflow_run.event == 'pull_request'
|
||||||
uses: tonyhallett/artifacts-url-comments@v1.1.0
|
uses: tonyhallett/artifacts-url-comments@v1.1.0
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user