File tree 5 files changed +42
-0
lines changed
5 files changed +42
-0
lines changed Original file line number Diff line number Diff line change 19
19
- uses : actions/checkout@v4
20
20
with :
21
21
submodules : true
22
+ persist-credentials : false
22
23
- run : sudo apt install clang libipc-run3-perl
23
24
- run : ./bootstrap
24
25
- run : ./configure
Original file line number Diff line number Diff line change 10
10
runs-on : ubuntu-latest
11
11
steps :
12
12
- uses : actions/checkout@v4
13
+ with :
14
+ persist-credentials : false
13
15
- run : sudo apt install clang-tools libipc-run3-perl
14
16
- run : ./bootstrap
15
17
- run : scan-build ./configure
Original file line number Diff line number Diff line change 24
24
# a pull request then we can checkout the head.
25
25
fetch-depth : 2
26
26
submodules : true
27
+ persist-credentials : false
27
28
28
29
# If this run was triggered by a pull request event, then checkout
29
30
# the head of the pull request instead of the merge commit.
Original file line number Diff line number Diff line change 20
20
- uses : actions/checkout@v4
21
21
with :
22
22
submodules : true
23
+ persist-credentials : false
23
24
- run : sudo apt install libipc-run3-perl
24
25
if : ${{ matrix.os == 'ubuntu-latest' }}
25
26
- run : brew install autoconf automake libtool
41
42
- uses : actions/checkout@v4
42
43
with :
43
44
submodules : true
45
+ persist-credentials : false
44
46
- run : cmake -DBUILD_TESTING=ON .
45
47
- run : cmake --build .
46
48
- run : ctest -V . -C Debug
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
+
27
+ - name : Run zizmor
28
+ run : uvx zizmor --format sarif . > results.sarif
29
+ env :
30
+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
31
+
32
+ - name : Upload SARIF file
33
+ uses : github/codeql-action/upload-sarif@v3
34
+ with :
35
+ sarif_file : results.sarif
36
+ category : zizmor
You can’t perform that action at this time.
0 commit comments