Skip to content

Commit 22b2337

Browse files
authored
ci: pin GitHub Actions to commit SHAs (scylladb#474)
## Summary - Pin all external GitHub Actions to full commit SHAs to reduce supply chain attack surface - Upgrade outdated actions to their latest versions **This PR was generated automatically. Please verify that GitHub Actions work as expected with these changes before merging.** Reference: scylladb/scylladb#29421
2 parents 7c17c04 + 1a77648 commit 22b2337

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/docs-pages.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v6
20+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
2121
with:
2222
ref: ${{ github.event.repository.default_branch }}
2323
persist-credentials: false
@@ -27,7 +27,7 @@ jobs:
2727
run: sudo apt-get update && sudo apt-get install -y doxygen
2828

2929
- name: Install uv
30-
uses: astral-sh/setup-uv@v8.1.0
30+
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
3131
with:
3232
enable-cache: true
3333
cache-dependency-glob: "docs/uv.lock"
@@ -47,7 +47,7 @@ jobs:
4747
.
4848
4949
- name: Upload artifact
50-
uses: actions/upload-artifact@v4.3.3
50+
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
5151
with:
5252
name: github-pages
5353
path: ${{ runner.temp }}/artifact.tar
@@ -73,4 +73,4 @@ jobs:
7373
steps:
7474
- name: Deploy to GitHub Pages
7575
id: deployment
76-
uses: actions/deploy-pages@v4
76+
uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5.0.0

.github/workflows/docs-pr.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- name: Checkout
22-
uses: actions/checkout@v6
22+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
2323
with:
2424
persist-credentials: false
2525
fetch-depth: 0
2626

2727
- name: Install uv
28-
uses: astral-sh/setup-uv@v8.1.0
28+
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
2929
with:
3030
working-directory: docs
3131
enable-cache: true

0 commit comments

Comments
 (0)