File tree Expand file tree Collapse file tree 4 files changed +38
-0
lines changed
Expand file tree Collapse file tree 4 files changed +38
-0
lines changed Original file line number Diff line number Diff line change 1919 steps :
2020 - name : Checkout repository
2121 uses : actions/checkout@v4
22+ with :
23+ persist-credentials : false
2224
2325 # Initializes the CodeQL tools for scanning.
2426 - name : Initialize CodeQL
Original file line number Diff line number Diff line change 99 runs-on : ubuntu-latest
1010 steps :
1111 - uses : actions/checkout@v4
12+ with :
13+ persist-credentials : false
1214 - uses : actions/setup-node@v4
1315 with :
1416 node-version : 20
Original file line number Diff line number Diff line change 1212 version : [18, 20]
1313 steps :
1414 - uses : actions/checkout@v4
15+ with :
16+ persist-credentials : false
1517 - uses : actions/setup-node@v4
1618 with :
1719 node-version : ${{ matrix.version }}
Original file line number Diff line number Diff line change 1+ name : GitHub Actions Security Analysis with zizmor
2+
3+ on :
4+ push :
5+ branches : ["main"]
6+ pull_request :
7+ branches : ["**"]
8+
9+ jobs :
10+ zizmor :
11+ name : zizmor latest via PyPI
12+ runs-on : ubuntu-latest
13+ permissions :
14+ security-events : write
15+ # required for workflows in private repositories
16+ contents : read
17+ actions : read
18+ steps :
19+ - name : Checkout repository
20+ uses : actions/checkout@v4
21+ with :
22+ persist-credentials : false
23+
24+ - name : Install the latest version of uv
25+ uses : astral-sh/setup-uv@v5
26+ with :
27+ enable-cache : false
28+
29+ - name : Run zizmor
30+ run : uvx zizmor --format plain .
31+ env :
32+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments