Skip to content

Commit 85f2bf5

Browse files
authored
Silence actionlint not recognizing parallel step annotations (#10329)
It's not implemented yet.
1 parent 2232094 commit 85f2bf5

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/code_style.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,14 @@ jobs:
7373
- name: Run actionlint
7474
# The shellcheck integration is disabled for now because the existing
7575
# workflows have many unfixed shellcheck warnings.
76-
run: ./actionlint -shellcheck=
76+
#
77+
# actionlint doesn't recognize parallel steps yet:
78+
# https://github.com/rhysd/actionlint/issues/693
79+
run: >-
80+
./actionlint -shellcheck=
81+
-ignore 'unexpected key "background" for step'
82+
-ignore 'step must run script with "run" section or run action with
83+
"uses" section'
7784
7885
spelling_checks:
7986
name: Check spelling

0 commit comments

Comments
 (0)