Skip to content

Commit

Permalink
CI: skip if triggering workflow failed (#192)
Browse files Browse the repository at this point in the history
Co-authored-by: california <[email protected]>
  • Loading branch information
ugtthis and california authored Feb 17, 2025
1 parent 87d5ce6 commit 60ca572
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ jobs:

update_pr_check:
needs: preview
if: always() && github.event.workflow_run.event == 'pull_request'
if: always() && github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'pull_request'
runs-on: ubuntu-latest
steps:
- name: Update PR check
Expand Down

0 comments on commit 60ca572

Please sign in to comment.