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:
2 files changed
+8
-8
No files matched your search
@@ -30,11 +30,11 @@ jobs:
|
|||||||
- name: Run actionlint
|
- name: Run actionlint
|
||||||
uses: raven-actions/actionlint@205b530c5d9fa8f44ae9ed59f341a0db994aa6f8 # v2.
|
uses: raven-actions/actionlint@205b530c5d9fa8f44ae9ed59f341a0db994aa6f8 # v2.
|
||||||
with:
|
with:
|
||||||
# release.yml is generated by dist. Keep linting it for real
|
# release.yml is generated by cargo-dist. Keep actionlint enabled for it,
|
||||||
# workflow issues, but ignore generated ShellCheck style/info noise.
|
# but ignore generated ShellCheck style/info noise from that file only.
|
||||||
flags: >-
|
flags: >-
|
||||||
-ignore '\.github/workflows/release\.yml:[0-9]+:[0-9]+: shellcheck reported issue .*SC2086'
|
-ignore \.github/workflows/release\.yml:[0-9]+:[0-9]+:.*SC2086
|
||||||
-ignore '\.github/workflows/release\.yml:[0-9]+:[0-9]+: shellcheck reported issue .*SC2129'
|
-ignore \.github/workflows/release\.yml:[0-9]+:[0-9]+:.*SC2129
|
||||||
zizmor:
|
zizmor:
|
||||||
name: zizmor
|
name: zizmor
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
@@ -63,8 +63,8 @@ jobs:
|
|||||||
- name: Run actionlint
|
- name: Run actionlint
|
||||||
uses: raven-actions/actionlint@205b530c5d9fa8f44ae9ed59f341a0db994aa6f8 # v2
|
uses: raven-actions/actionlint@205b530c5d9fa8f44ae9ed59f341a0db994aa6f8 # v2
|
||||||
with:
|
with:
|
||||||
# release.yml is generated by dist. Keep linting it for real
|
# release.yml is generated by cargo-dist. Keep actionlint enabled for it,
|
||||||
# workflow issues, but ignore generated ShellCheck style/info noise.
|
# but ignore generated ShellCheck style/info noise from that file only.
|
||||||
flags: >-
|
flags: >-
|
||||||
-ignore '\.github/workflows/release\.yml:[0-9]+:[0-9]+: shellcheck reported issue .*SC2086'
|
-ignore \.github/workflows/release\.yml:[0-9]+:[0-9]+:.*SC2086
|
||||||
-ignore '\.github/workflows/release\.yml:[0-9]+:[0-9]+: shellcheck reported issue .*SC2129'
|
-ignore \.github/workflows/release\.yml:[0-9]+:[0-9]+:.*SC2129
|
||||||
Reference in new issue
Block a user