File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -315,12 +315,12 @@ jobs:
315315 with :
316316 sparse-checkout : ${{ env.WORKFLOW_PATH }}
317317 - name : Get all jobs
318- run : yq '.jobs | keys.[]' -- "$WORKFLOW_PATH" | sort > all-jobs.txt
318+ run : yq '.jobs | keys.[]' -- "$WORKFLOW_PATH" | sort | tee all-jobs.txt
319319 - name : Get blocking jobs
320- run : yq '.jobs.tests-pass.needs.[]' -- "$WORKFLOW_PATH" | sort > blocking-jobs.txt
320+ run : yq '.jobs.tests-pass.needs.[]' -- "$WORKFLOW_PATH" | sort | tee blocking-jobs.txt
321321 - name : Get jobs we intend do not block
322- run : sort <<<"$EXPECTED_NONBLOCKING_JOBS" > expected-nonblocking-jobs.txt
323- - name : Check that each job blocks PRs xor intentionally doesn't
322+ run : sort <<<"$EXPECTED_NONBLOCKING_JOBS" | tee expected-nonblocking-jobs.txt
323+ - name : Each job must block PRs or be declared not to
324324 run : |
325325 sort -m blocking-jobs.txt expected-nonblocking-jobs.txt |
326326 diff --color=always -U1000 -- - all-jobs.txt
You can’t perform that action at this time.
0 commit comments