ci: ignore specific shellcheck warnings in generated release workflow

Suppress SC2086 and SC2129 linting errors for the generated release.yml to prevent build noise while maintaining checks for logic issues.
This commit is contained in:
Nils Andreas Svee committed 2026-05-18 01:05:40 +07:00
1 parent 2fcef0adc5
commit 614ad5b5cd
2 files changed
+13 -2

No files matched your search

+7 -2
View File
@@ -28,8 +28,13 @@ jobs:
persist-credentials: false persist-credentials: false
- name: Run actionlint - name: Run actionlint
uses: raven-actions/actionlint@205b530c5d9fa8f44ae9ed59f341a0db994aa6f8 # v2 uses: raven-actions/actionlint@205b530c5d9fa8f44ae9ed59f341a0db994aa6f8 # v2.
with:
# release.yml is generated by dist. Keep linting it for real
# workflow issues, but ignore generated ShellCheck style/info noise.
flags: >-
-ignore '\.github/workflows/release\.yml:[0-9]+:[0-9]+: shellcheck reported issue .*SC2086'
-ignore '\.github/workflows/release\.yml:[0-9]+:[0-9]+: shellcheck reported issue .*SC2129'
zizmor: zizmor:
name: zizmor name: zizmor
runs-on: ubuntu-latest runs-on: ubuntu-latest
+6
View File
@@ -62,3 +62,9 @@ jobs:
- name: Run actionlint - name: Run actionlint
uses: raven-actions/actionlint@205b530c5d9fa8f44ae9ed59f341a0db994aa6f8 # v2 uses: raven-actions/actionlint@205b530c5d9fa8f44ae9ed59f341a0db994aa6f8 # v2
with:
# release.yml is generated by dist. Keep linting it for real
# workflow issues, but ignore generated ShellCheck style/info noise.
flags: >-
-ignore '\.github/workflows/release\.yml:[0-9]+:[0-9]+: shellcheck reported issue .*SC2086'
-ignore '\.github/workflows/release\.yml:[0-9]+:[0-9]+: shellcheck reported issue .*SC2129'