File tree Expand file tree Collapse file tree 1 file changed +29
-1
lines changed
Expand file tree Collapse file tree 1 file changed +29
-1
lines changed Original file line number Diff line number Diff line change 2626jobs :
2727 workflow_syntax :
2828 if : github.repository_owner == 'Homebrew'
29- runs-on : ubuntu-22.04
29+ runs-on : ubuntu-latest
3030 container :
3131 image : ghcr.io/homebrew/ubuntu22.04:master
3232 steps :
5757 echo "::add-matcher::$HOME/actionlint-matcher.json"
5858
5959 - run : actionlint
60+
61+ zizmor :
62+ if : github.repository_owner == 'Homebrew'
63+ runs-on : ubuntu-latest
64+ container :
65+ image : ghcr.io/homebrew/ubuntu22.04:master
66+ steps :
67+ - name : Set up Homebrew
68+ id : setup-homebrew
69+ uses : Homebrew/actions/setup-homebrew@master
70+ with :
71+ core : true
72+ cask : false
73+ test-bot : false
74+
75+ - name : Install zizmor
76+ run : brew install zizmor
77+
78+ - name : Run zizmor
79+ run : zizmor --format sarif "${HOMEBREW_TAP_REPOSITORY}" | tee results.sarif
80+ env :
81+ HOMEBREW_TAP_REPOSITORY : ${{ steps.setup-homebrew.outputs.repository-path }}
82+
83+ - name : Upload SARIF file
84+ uses : github/codeql-action/upload-sarif@v3
85+ with :
86+ sarif_file : results.sarif
87+ category : zizmor
You can’t perform that action at this time.
0 commit comments