Skip to content

Commit

Permalink
fix to only run on pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
e-perl-NOAA committed May 2, 2024
1 parent 000bf2c commit 2f41560
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/add-artifact-to-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
artifacts-url-comments:
name: add artifact links to pull request and related issues job
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
if: ${{ github.event.workflow_run.conclusion == 'success' && github.event_name == 'pull_request' }}
steps:
- name: add artifact links to PR and issues
uses: tonyhallett/artifacts-url-comments@v1.1.0
Expand Down

0 comments on commit 2f41560

Please sign in to comment.