Skip to content

Commit ee23d72

Browse files
Merge pull request #266 from stac-utils/fix/pin-github-actions
ci: pin GitHub Actions to SHA digests (fix zizmor unpinned-uses)
2 parents 03456c3 + 984498f commit ee23d72

2 files changed

Lines changed: 18 additions & 18 deletions

File tree

.github/workflows/ci.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,17 @@ jobs:
2525
python-version: ['3.11', '3.12', '3.13', '3.14']
2626

2727
steps:
28-
- uses: actions/checkout@v6
28+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
2929

3030
- name: Install uv
31-
uses: astral-sh/setup-uv@v7
31+
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
3232
with:
3333
version: "0.9.*"
3434
enable-cache: true
3535
python-version: ${{ matrix.python-version }}
3636

3737
- name: install lib postgres
38-
uses: nyurik/action-setup-postgis@v2
38+
uses: nyurik/action-setup-postgis@228cfe4dd41aad01801a0bdc767040e5024fff1d # v2
3939

4040
- name: Install dependencies
4141
run: |
@@ -52,7 +52,7 @@ jobs:
5252

5353
- name: Upload Results
5454
if: ${{ matrix.python-version == env.LATEST_PY_VERSION }}
55-
uses: codecov/codecov-action@v5
55+
uses: codecov/codecov-action@75cd11691c0faa626561e295848008c8a7dddffe # v5
5656
with:
5757
file: ./coverage.xml
5858
flags: unittests
@@ -65,10 +65,10 @@ jobs:
6565
env:
6666
PGSTAC_VERSION: '0.9.10'
6767
steps:
68-
- uses: actions/checkout@v6
68+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
6969

7070
- name: Install uv
71-
uses: astral-sh/setup-uv@v7
71+
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
7272
with:
7373
version: "0.9.*"
7474
enable-cache: true
@@ -85,7 +85,7 @@ jobs:
8585
PGSTAC_VERSION: ${{ env.PGSTAC_VERSION }}
8686

8787
- name: install lib postgres
88-
uses: nyurik/action-setup-postgis@v2
88+
uses: nyurik/action-setup-postgis@228cfe4dd41aad01801a0bdc767040e5024fff1d # v2
8989

9090
- name: Ingest Stac Items/Collection
9191
run: |
@@ -102,7 +102,7 @@ jobs:
102102
uv run --group benchmark pytest .github/workflows/tests/benchmarks.py --benchmark-only --benchmark-columns 'min, max, mean, median' --benchmark-json output.json
103103
104104
- name: Store and benchmark result
105-
uses: benchmark-action/github-action-benchmark@v1
105+
uses: benchmark-action/github-action-benchmark@a60cea5bc7b49e15c1f58f411161f99e0df48372 # v1
106106
with:
107107
name: TiTiler-pgSTAC Benchmarks
108108
tool: 'pytest'
@@ -124,10 +124,10 @@ jobs:
124124
runs-on: ubuntu-latest
125125
if: startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release'
126126
steps:
127-
- uses: actions/checkout@v6
127+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
128128

129129
- name: Install uv
130-
uses: astral-sh/setup-uv@v7
130+
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
131131
with:
132132
version: "0.9.*"
133133
enable-cache: true
@@ -161,16 +161,16 @@ jobs:
161161

162162
steps:
163163
- name: Checkout
164-
uses: actions/checkout@v6
164+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
165165

166166
- name: Set up QEMU
167-
uses: docker/setup-qemu-action@v4
167+
uses: docker/setup-qemu-action@ce360397dd3f832beb865e1373c09c0e9f86d70a # v4
168168

169169
- name: Set up Docker Buildx
170-
uses: docker/setup-buildx-action@v4
170+
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4
171171

172172
- name: Login to Github
173-
uses: docker/login-action@v4
173+
uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4
174174
with:
175175
registry: ghcr.io
176176
username: ${{ github.actor }}
@@ -183,7 +183,7 @@ jobs:
183183
184184
- name: Docker meta
185185
id: meta
186-
uses: docker/metadata-action@v6
186+
uses: docker/metadata-action@030e881283bb7a6894de51c315a6bfe6a94e05cf # v6
187187
with:
188188
images: ghcr.io/${{ github.repository }}
189189
flavor: |
@@ -193,7 +193,7 @@ jobs:
193193
type=raw,value=latest,enable={{is_default_branch}}
194194
195195
- name: Build and push
196-
uses: docker/build-push-action@v7
196+
uses: docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294 # v7
197197
with:
198198
platforms: linux/amd64,linux/arm64
199199
context: .

.github/workflows/deploy_mkdocs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Checkout main
17-
uses: actions/checkout@v6
17+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
1818

1919
- name: Install uv
20-
uses: astral-sh/setup-uv@v7
20+
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
2121
with:
2222
version: "0.9.*"
2323
enable-cache: true

0 commit comments

Comments
 (0)