Skip to content

Commit 44bc95a

Browse files
Pin GitHub Actions to commit hashes and enforce pinning
- Update all action references to use full SHA commit hashes - Configure Renovate to pin digests and require 90-day minimum age - Add github-actions ecosystem to Dependabot
1 parent a0eb304 commit 44bc95a

8 files changed

Lines changed: 28 additions & 21 deletions

File tree

.github/workflows/build-push.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ jobs:
2424
permissions:
2525
id-token: write
2626
steps:
27-
- uses: actions/download-artifact@v8
27+
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
2828
with:
2929
path: dist
3030
merge-multiple: true
3131

32-
- uses: pypa/gh-action-pypi-publish@release/v1
32+
- uses: pypa/gh-action-pypi-publish@cef2210092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0
3333
with:
3434
skip-existing: true

.github/workflows/call_jira_sync.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ permissions:
1111

1212
jobs:
1313
jira-sync:
14-
uses: scylladb/github-automation/.github/workflows/main_pr_events_jira_sync.yml@main
14+
uses: scylladb/github-automation/.github/workflows/main_pr_events_jira_sync.yml@83115dc2553dbf968e73271e97fc7aac16b8145a # main 2026-05-20
1515
with:
1616
caller_action: ${{ github.event.action }}
1717
secrets:

.github/workflows/docs-pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ jobs:
2424
runs-on: ubuntu-latest
2525
steps:
2626
- name: Checkout
27-
uses: actions/checkout@v6
27+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2828
with:
2929
ref: ${{ github.event.repository.default_branch }}
3030
persist-credentials: false
3131
fetch-depth: 0
3232

3333
- name: Install uv
34-
uses: astral-sh/setup-uv@v8.1.0
34+
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
3535
with:
3636
working-directory: docs
3737
enable-cache: true

.github/workflows/docs-pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ jobs:
3131
runs-on: ubuntu-latest
3232
steps:
3333
- name: Checkout
34-
uses: actions/checkout@v6
34+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3535
with:
3636
persist-credentials: false
3737
fetch-depth: 0
3838

3939
- name: Install uv
40-
uses: astral-sh/setup-uv@v8.1.0
40+
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
4141
with:
4242
working-directory: docs
4343
enable-cache: true

.github/workflows/integration-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ jobs:
5656
event_loop_manager: "asyncore"
5757

5858
steps:
59-
- uses: actions/checkout@v6
59+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
6060

6161
- name: Set up JDK ${{ matrix.java-version }}
62-
uses: actions/setup-java@v5
62+
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
6363
with:
6464
java-version: ${{ matrix.java-version }}
6565
distribution: 'adopt'
@@ -68,7 +68,7 @@ jobs:
6868
run: sudo apt-get install libev4 libev-dev
6969

7070
- name: Install uv
71-
uses: astral-sh/setup-uv@v8.1.0
71+
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
7272
with:
7373
python-version: ${{ matrix.python-version }}
7474

@@ -78,7 +78,7 @@ jobs:
7878
run: uv sync
7979

8080
- name: Cache Scylla download
81-
uses: actions/cache@v5
81+
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
8282
with:
8383
path: ~/.ccm/repository
8484
key: scylla-${{ env.SCYLLA_VERSION }}-${{ runner.os }}

.github/workflows/lib-build.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,11 @@ jobs:
7777
include: ${{ fromJson(needs.prepare-matrix.outputs.matrix) }}
7878

7979
steps:
80-
- uses: actions/checkout@v6
80+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
8181

8282
- name: Checkout tag ${{ inputs.target_tag }}
8383
if: inputs.target_tag != ''
84-
uses: actions/checkout@v6
84+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
8585
with:
8686
ref: ${{ inputs.target_tag }}
8787

@@ -96,7 +96,7 @@ jobs:
9696
echo "CIBW_BEFORE_TEST_WINDOWS=(exit 0)" >> $GITHUB_ENV;
9797
9898
- name: Install uv
99-
uses: astral-sh/setup-uv@v8.1.0
99+
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
100100
with:
101101
python-version: ${{ inputs.python-version }}
102102

@@ -111,7 +111,7 @@ jobs:
111111
112112
- name: Install Conan
113113
if: runner.os == 'Windows'
114-
uses: turtlebrowser/get-conan@main
114+
uses: turtlebrowser/get-conan@e41c1e039be765c0ed9d9d38cc2a287566e1d8b3 # v1.2
115115

116116
- name: Configure libev for Windows
117117
if: runner.os == 'Windows'
@@ -147,7 +147,7 @@ jobs:
147147
run: |
148148
CIBW_BUILD="cp3*" cibuildwheel --archs aarch64 --output-dir wheelhouse
149149
150-
- uses: actions/upload-artifact@v7
150+
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
151151
with:
152152
name: wheels-${{ matrix.target }}-${{ matrix.os }}
153153
path: ./wheelhouse/*.whl
@@ -156,17 +156,17 @@ jobs:
156156
name: Build source distribution
157157
runs-on: ubuntu-24.04
158158
steps:
159-
- uses: actions/checkout@v6
159+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
160160

161161
- name: Install uv
162-
uses: astral-sh/setup-uv@v8.1.0
162+
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
163163
with:
164164
python-version: ${{ inputs.python-version }}
165165

166166
- name: Build sdist
167167
run: uv build --sdist
168168

169-
- uses: actions/upload-artifact@v7
169+
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
170170
with:
171171
name: source-dist
172172
path: dist/*.tar.gz

.github/workflows/publish-manually.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@ jobs:
5858
permissions:
5959
id-token: write
6060
steps:
61-
- uses: actions/download-artifact@v8
61+
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
6262
with:
6363
path: dist
6464
merge-multiple: true
6565

66-
- uses: pypa/gh-action-pypi-publish@release/v1
66+
- uses: pypa/gh-action-pypi-publish@cef2210092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0
6767
with:
6868
skip-existing: true

renovate.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,12 @@
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
33
"extends": [
44
"config:recommended"
5+
],
6+
"packageRules": [
7+
{
8+
"matchManagers": ["github-actions"],
9+
"pinDigests": true,
10+
"minimumReleaseAge": "90 days"
11+
}
512
]
613
}

0 commit comments

Comments
 (0)