ci: simplify actionlint ignore patterns for generated release workflow

Update the regex patterns to be more robust and improve the clarity of comments regarding cargo-dist generated workflows.
This commit is contained in:
Nils Andreas Svee committed 2026-05-18 13:46:26 +07:00
1 parent 5d653dac13
commit 5c96024c4f
2 files changed
+8 -8

No files matched your search

+4 -4
View File
@@ -63,8 +63,8 @@ jobs:
- name: Run actionlint
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.
# release.yml is generated by cargo-dist. Keep actionlint enabled for it,
# but ignore generated ShellCheck style/info noise from that file only.
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'
-ignore \.github/workflows/release\.yml:[0-9]+:[0-9]+:.*SC2086
-ignore \.github/workflows/release\.yml:[0-9]+:[0-9]+:.*SC2129