File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -315,12 +315,12 @@ jobs:
315
315
with :
316
316
sparse-checkout : ${{ env.WORKFLOW_PATH }}
317
317
- 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
319
319
- 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
321
321
- 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
324
324
run : |
325
325
sort -m blocking-jobs.txt expected-nonblocking-jobs.txt |
326
326
diff --color=always -U1000 -- - all-jobs.txt
You can’t perform that action at this time.
0 commit comments