File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 push :
66 branches : [main]
77
8+ concurrency :
9+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
10+ cancel-in-progress : true
11+
12+ permissions : {}
13+
814jobs :
915 docs :
1016 name : Build docs and check links
1117 runs-on : ubuntu-latest
1218 steps :
13- - uses : actions/checkout@v6
14- - uses : pandoc/actions/setup@v1
15- - uses : ts-graphviz/setup-graphviz@v2
16- - uses : actions/setup-python@v6
19+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
20+ with :
21+ persist-credentials : false
22+ - uses : pandoc/actions/setup@86321b6dd4675f5014c611e05088e10d4939e09e # v1.1.1
23+ - uses : ts-graphviz/setup-graphviz@b1de5da23ed0a6d14e0aeee8ed52fdd87af2363c # v2.0.2
24+ - uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
1725 with :
18- cache : pip
1926 # Keep in sync with .readthedocs.yaml
2027 python-version-file : .python-version
2128 - name : Setup cached uv
22- uses : hynek/setup-cached-uv@v2
29+ uses : hynek/setup-cached-uv@4300ec2180bc77d705e626a34e381b81a4772c51 # v2.5.0
2330 - name : Create venv and install docs dependencies
2431 run : |
2532 uv venv
Original file line number Diff line number Diff line change 55 push :
66 branches : [main]
77
8+ concurrency :
9+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
10+ cancel-in-progress : true
11+
12+ permissions : {}
13+
814jobs :
915 pre-commit :
16+ name : pre-commit
17+ # External pull requests should be checked, but not our own internal pull
18+ # requests again, as these are already checked by the push on the branch.
19+ # Without this if condition, the checks would be performed twice, as
20+ # internal pull requests correspond to both the push and pull_request
21+ # events.
22+ if :
23+ github.event_name == 'push' ||
24+ github.event.pull_request.head.repo.full_name != github.repository
1025 runs-on : ubuntu-latest
1126 steps :
12- - uses : actions/checkout@v6
13- - uses : actions/setup-python@v6
14- - uses : actions/cache@v5
27+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
28+ with :
29+ persist-credentials : false
30+ - uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
31+ - uses : actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
1532 with :
1633 path : ~/.cache/pre-commit
1734 key : pre-commit|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}
18- - uses : pre-commit/action@v3.0.1
35+ - uses : pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
Original file line number Diff line number Diff line change 1+ # https://github.com/woodruffw/zizmor
2+ name : Zizmor
3+
4+ on :
5+ push :
6+ branches : ["main"]
7+ pull_request :
8+ branches : ["**"]
9+
10+ concurrency :
11+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
12+ cancel-in-progress : true
13+
14+ permissions : {}
15+
16+ jobs :
17+ zizmor :
18+ name : Run zizmor
19+ runs-on : ubuntu-latest
20+ permissions :
21+ security-events : write # Required for upload-sarif (used by zizmor-action) to upload SARIF files.
22+ steps :
23+ - name : Checkout repository
24+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
25+ with :
26+ persist-credentials : false
27+
28+ - name : Run zizmor
29+ uses : zizmorcore/zizmor-action@71321a20a9ded102f6e9ce5718a2fcec2c4f70d8 # v0.5.2
30+ with :
31+ persona : pedantic
You can’t perform that action at this time.
0 commit comments