From 1cd26066bd142f379f2cdc2284f9ad64cfb04f78 Mon Sep 17 00:00:00 2001 From: Risu <79110363+risu729@users.noreply.github.com> Date: Fri, 25 Oct 2024 19:33:32 +0900 Subject: [PATCH] docs: add SC2043 to disabled shellcheck rules --- docs/checks.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/checks.md b/docs/checks.md index bffdd0e0c..3f7bb270b 100644 --- a/docs/checks.md +++ b/docs/checks.md @@ -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, @@ -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