Skip to content

Commit 3a079b6

Browse files
authored
fix(workflow-lint): cover bare $/ references in the actionlint ignores (#79)
Signed-off-by: Devin Buhl <devin@buhl.casa>
1 parent 61237ea commit 3a079b6

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

actions/workflow-lint/action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ runs:
2727
mise exec actionlint@"${ACTIONLINT_VERSION}" -- actionlint -color -shellcheck= \
2828
-ignore 'unexpected key "(background|cancel|parallel|wait|wait-all)" for step' \
2929
-ignore 'step must run script with "run" section or run action with "uses" section' \
30-
-ignore 'specifying action "\$/.+" in invalid format because ref is missing' \
31-
-ignore 'reusable workflow call "\$/.+" at "uses" is not following the format'
30+
-ignore 'specifying action "\$/.*" in invalid format because ref is missing' \
31+
-ignore 'reusable workflow call "\$/.*" at "uses" is not following the format'
3232
3333
- name: Run zizmor
3434
if: ${{ !cancelled() }}

lefthook.common.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ run = '''
4747
actionlint -shellcheck= \
4848
-ignore 'unexpected key "(background|cancel|parallel|wait|wait-all)" for step' \
4949
-ignore 'step must run script with "run" section or run action with "uses" section' \
50-
-ignore 'specifying action "\$/.+" in invalid format because ref is missing' \
51-
-ignore 'reusable workflow call "\$/.+" at "uses" is not following the format' \
50+
-ignore 'specifying action "\$/.*" in invalid format because ref is missing' \
51+
-ignore 'reusable workflow call "\$/.*" at "uses" is not following the format' \
5252
{staged_files}
5353
'''
5454

0 commit comments

Comments
 (0)