Skip to content

Commit 20794ff

Browse files
committed
Name the steps of the test-pass CI job
This gives `name:` keys to the `test-pass` steps, turning the first step's comment into its name. This way, the output can be as clear as the workflow file itself.
1 parent e45ea25 commit 20794ff

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,8 @@ jobs:
308308
runs-on: ubuntu-latest
309309

310310
steps:
311-
# fail if ANY dependency has failed or cancelled
312-
- if: "contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')"
311+
- name: Fail if ANY dependency has failed or cancelled
312+
if: "contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')"
313313
run: exit 1
314-
- run: exit 0
314+
- name: OK
315+
run: exit 0

0 commit comments

Comments
 (0)