File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -209,7 +209,12 @@ jobs:
209
209
210
210
- name : make lint
211
211
run : |
212
- make --output-sync=line -j lint
212
+ # zizmor isn't included in the lint target because it takes a while,
213
+ # but we explicitly want to run it in CI.
214
+ make --output-sync=line -j lint lint/actions/zizmor
215
+ env :
216
+ # Used by zizmor to lint third-party GitHub actions.
217
+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
213
218
214
219
- name : Check workflow files
215
220
run : |
Original file line number Diff line number Diff line change @@ -559,13 +559,9 @@ else
559
559
endif
560
560
.PHONY : fmt/markdown
561
561
562
- # Note: we don't run zizmor in the lint target except in CI because it takes a
563
- # while.
564
- ifdef CI
565
- lint : lint/shellcheck lint/go lint/ts lint/examples lint/helm lint/site-icons lint/markdown lint/actions
566
- else
562
+ # Note: we don't run zizmor in the lint target because it takes a while. CI
563
+ # runs it explicitly.
567
564
lint : lint/shellcheck lint/go lint/ts lint/examples lint/helm lint/site-icons lint/markdown lint/actions/actionlint
568
- endif
569
565
.PHONY : lint
570
566
571
567
lint/site-icons :
You can’t perform that action at this time.
0 commit comments