File tree Expand file tree Collapse file tree 5 files changed +29
-34
lines changed Expand file tree Collapse file tree 5 files changed +29
-34
lines changed Original file line number Diff line number Diff line change 7
7
pull_request :
8
8
workflow_dispatch :
9
9
10
+ permissions : {}
11
+
10
12
jobs :
11
13
test :
12
14
strategy :
37
39
if : always()
38
40
39
41
needs :
40
- - test
42
+ - test
41
43
42
44
runs-on : ubuntu-latest
43
45
Original file line number Diff line number Diff line change 6
6
- main
7
7
workflow_dispatch :
8
8
9
+ permissions : {}
10
+
9
11
jobs :
10
12
build :
11
13
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 10
10
schedule :
11
11
- cron : " 0 0 * * 2"
12
12
13
+ permissions : {}
14
+
13
15
jobs :
14
16
pre-list-legacy :
15
17
strategy :
49
51
strategy :
50
52
matrix :
51
53
python :
52
- - " 3.7"
53
- - " 3.8"
54
+ # - "3.7" # EOL
55
+ # - "3.8" # EOL
54
56
- " 3.9"
55
57
56
58
runs-on : ubuntu-latest
@@ -124,7 +126,6 @@ jobs:
124
126
with :
125
127
persist-credentials : false
126
128
127
-
128
129
- uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
129
130
with :
130
131
python-version : ${{ matrix.python }}
Original file line number Diff line number Diff line change 5
5
6
6
name : release
7
7
8
+ permissions : {}
9
+
8
10
jobs :
9
11
pypi :
10
12
name : upload release to PyPI
@@ -19,21 +21,21 @@ jobs:
19
21
contents : write
20
22
21
23
steps :
22
- - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
23
- with :
24
- persist-credentials : false
24
+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
25
+ with :
26
+ persist-credentials : false
25
27
26
- - uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
27
- with :
28
- python-version : " 3.x"
28
+ - uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
29
+ with :
30
+ python-version : " 3.x"
29
31
30
- - name : deps
31
- run : python -m pip install -U build
32
+ - name : deps
33
+ run : python -m pip install -U build
32
34
33
- - name : build
34
- run : python -m build
35
+ - name : build
36
+ run : python -m build
35
37
36
- - name : publish
37
- uses : pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
38
- with :
39
- attestations : true
38
+ - name : publish
39
+ uses : pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
40
+ with :
41
+ attestations : true
Original file line number Diff line number Diff line change 6
6
pull_request :
7
7
branches : ["**"]
8
8
9
+ permissions : {}
10
+
9
11
jobs :
10
12
zizmor :
11
- name : zizmor latest via PyPI
13
+ name : Run zizmor 🌈
12
14
runs-on : ubuntu-latest
13
15
permissions :
14
16
security-events : write
15
- # required for workflows in private repositories
16
- contents : read
17
- actions : read
18
17
steps :
19
18
- name : Checkout repository
20
19
uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
21
20
with :
22
21
persist-credentials : false
23
22
24
- - name : Install the latest version of uv
25
- uses : astral-sh/setup-uv@d9e0f98d3fc6adb07d1e3d37f3043649ddad06a1 # v6.5.0
26
-
27
23
- 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@df559355d593797519d70b90fc8edd5db049e7a2 # v3.29.5
34
- with :
35
- sarif_file : results.sarif
36
- category : zizmor
24
+ uses : zizmorcore/zizmor-action@f52a838cfabf134edcbaa7c8b3677dde20045018 # v0.1.1
You can’t perform that action at this time.
0 commit comments