@@ -45,11 +45,12 @@ jobs:
4545 runs-on : ${{ matrix.os }}
4646
4747 steps :
48- - uses : actions/checkout@v6
48+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4949 with :
5050 fetch-depth : 0 # grab all branches and tags
51+ persist-credentials : false
5152 - name : Set up Python
52- uses : actions/setup-python@v6
53+ uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
5354 with :
5455 python-version : ${{ matrix.python-version }}
5556 cache : ' pip'
6869 hatch env run --env test.py${{ matrix.python-version }}-${{ matrix.dependency-set }} run-coverage
6970 - name : Upload coverage
7071 if : ${{ matrix.dependency-set == 'optional' && matrix.os == 'ubuntu-latest' }}
71- uses : codecov/codecov-action@v5
72+ uses : codecov/codecov-action@1af58845a975a7985b0beb0cbe6fbbb71a41dbad # v5.5.3
7273 with :
73- token : ${{ secrets.CODECOV_TOKEN }}
74+ # CODECOV_TOKEN is a low-sensitivity upload token, not a deploy key.
75+ # Using an environment would gate every test run behind approval/deployment UI.
76+ token : ${{ secrets.CODECOV_TOKEN }} # zizmor: ignore[secrets-outside-env]
7477 verbose : true # optional (default = false)
7578
7679 test-upstream-and-min-deps :
@@ -87,11 +90,12 @@ jobs:
8790 - python-version : " 3.11"
8891 dependency-set : upstream
8992 steps :
90- - uses : actions/checkout@v6
93+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
9194 with :
9295 fetch-depth : 0
96+ persist-credentials : false
9397 - name : Set up Python
94- uses : actions/setup-python@v6
98+ uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
9599 with :
96100 python-version : ${{ matrix.python-version }}
97101 cache : ' pip'
@@ -107,20 +111,23 @@ jobs:
107111 run : |
108112 hatch env run --env ${{ matrix.dependency-set }} run-coverage
109113 - name : Upload coverage
110- uses : codecov/codecov-action@v5
114+ uses : codecov/codecov-action@1af58845a975a7985b0beb0cbe6fbbb71a41dbad # v5.5.3
111115 with :
112- token : ${{ secrets.CODECOV_TOKEN }}
116+ # CODECOV_TOKEN is a low-sensitivity upload token, not a deploy key.
117+ # Using an environment would gate every test run behind approval/deployment UI.
118+ token : ${{ secrets.CODECOV_TOKEN }} # zizmor: ignore[secrets-outside-env]
113119 verbose : true # optional (default = false)
114120
115121 doctests :
116122 name : doctests
117123 runs-on : ubuntu-latest
118124 steps :
119- - uses : actions/checkout@v6
125+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
120126 with :
121127 fetch-depth : 0 # required for hatch version discovery, which is needed for numcodecs.zarr3
128+ persist-credentials : false
122129 - name : Set up Python
123- uses : actions/setup-python@v6
130+ uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
124131 with :
125132 python-version : ' 3.13'
126133 cache : ' pip'
0 commit comments