Skip to content

Commit

Permalink
Fix an example in README.md (#342)
Browse files Browse the repository at this point in the history
Only run when both should_skip flags are false
  • Loading branch information
mhariri authored Apr 20, 2024
1 parent f54720a commit 84931c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ jobs:
# If 'skip-duplicate-actions' terminates before the paths checks are performed (for example, when a successful duplicate run has
# been found) 'paths_result' outputs an empty object ('{}'). This can be easily intercepted in the if condition of a job
# by checking the result of the "global" 'should_skip' output first.
if: needs.pre_job.outputs.should_skip != 'true' || !fromJSON(needs.pre_job.outputs.paths_result).frontend.should_skip
if: needs.pre_job.outputs.should_skip != 'true' && !fromJSON(needs.pre_job.outputs.paths_result).frontend.should_skip
# ...
backend:
Expand Down

0 comments on commit 84931c6

Please sign in to comment.