ci: pin & trust
This commit is contained in:
parent
9542242475
commit
8dcceb5709
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -197,7 +197,7 @@ jobs:
|
||||
uv venv
|
||||
uv pip install . --group typing
|
||||
echo "$PWD/.venv/bin" >> $GITHUB_PATH
|
||||
- uses: jakebailey/pyright-action@v2
|
||||
- uses: jakebailey/pyright-action@b5d50e5cde6547546a5c4ac92e416a8c2c1a1dfe # v2.3.2
|
||||
|
||||
|
||||
docs:
|
||||
@ -253,6 +253,6 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Decide whether the needed jobs succeeded or failed
|
||||
uses: re-actors/alls-green@release/v1
|
||||
uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # v1.2.2
|
||||
with:
|
||||
jobs: ${{ toJSON(needs) }}
|
||||
|
||||
10
zizmor.yml
Normal file
10
zizmor.yml
Normal file
@ -0,0 +1,10 @@
|
||||
---
|
||||
rules:
|
||||
unpinned-uses:
|
||||
config:
|
||||
policies:
|
||||
# We trust GitHub, the PyPA, and ourselves.
|
||||
"actions/*": ref-pin
|
||||
"github/*": ref-pin
|
||||
"pypa/*": ref-pin
|
||||
"hynek/*": ref-pin
|
||||
Loading…
Reference in New Issue
Block a user