Skip to content

Commit

Permalink
docs: add SC2043 to disabled shellcheck rules
Browse files Browse the repository at this point in the history
  • Loading branch information
risu729 committed Oct 25, 2024
1 parent e25a8b8 commit 1cd2606
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/checks.md
Original file line number Diff line number Diff line change
Expand Up @@ -872,7 +872,7 @@ shellcheck. To avoid it, actionlint replaces `${{ }}` with underscores. For exam
with `echo '________________'`.

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

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

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

0 comments on commit 1cd2606

Please sign in to comment.