Skip to content

Commit 50e7201

Browse files
authored
Merge pull request #466 from risu729/main
docs: add SC2043 to disabled shellcheck rules
2 parents 1c23560 + 1cd2606 commit 50e7201

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/checks.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,7 @@ shellcheck. To avoid it, actionlint replaces `${{ }}` with underscores. For exam
872872
with `echo '________________'`.
873873

874874
Some shellcheck rules conflict with the `${{ }}` expression syntax. To avoid errors due to the syntax, [SC1091][], [SC2050][],
875-
[SC2194][], [SC2154][], [SC2157][] are disabled.
875+
[SC2194][], [SC2154][], [SC2157][], [SC2043][] are disabled.
876876

877877
When what shell is used cannot be determined statically, actionlint assumes `shell: bash` optimistically. For example,
878878

@@ -2871,6 +2871,7 @@ Note that `steps` in Composite action's metadata is not checked at this point. I
28712871
[SC2194]: https://github.com/koalaman/shellcheck/wiki/SC2194
28722872
[SC2154]: https://github.com/koalaman/shellcheck/wiki/SC2154
28732873
[SC2157]: https://github.com/koalaman/shellcheck/wiki/SC2157
2874+
[SC2043]: https://github.com/koalaman/shellcheck/wiki/SC2043
28742875
[shellcheck-env-var]: https://github.com/koalaman/shellcheck/wiki/Integration#environment-variables
28752876
[pyflakes]: https://github.com/PyCQA/pyflakes
28762877
[expr-doc]: https://docs.github.com/en/actions/learn-github-actions/expressions

0 commit comments

Comments
 (0)