Skip to content

Commit 5fd1225

Browse files
28Pollux28cursoragent
authored andcommitted
fix: pin GitHub Actions to SHA for supply chain security
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
1 parent 5c558b2 commit 5fd1225

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
- 25
1717

1818
steps:
19-
- uses: actions/checkout@v6
19+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
2020

2121
- name: Setup Java ${{ matrix.java }}
22-
uses: actions/setup-java@v5
22+
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5
2323
with:
2424
distribution: 'temurin'
2525
java-version: ${{ matrix.java }}
@@ -37,7 +37,7 @@ jobs:
3737
3838
- name: Upload photon jar artifact
3939
if: matrix.java == 21
40-
uses: actions/upload-artifact@v6
40+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
4141
with:
4242
name: photon-jar
4343
path: target/photon-*.jar
@@ -48,10 +48,10 @@ jobs:
4848
runs-on: ubuntu-24.04
4949

5050
steps:
51-
- uses: actions/checkout@v6
51+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
5252

5353
- name: Setup Java 21
54-
uses: actions/setup-java@v5
54+
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5
5555
with:
5656
distribution: 'temurin'
5757
java-version: 21
@@ -63,7 +63,7 @@ jobs:
6363
- name: Get Photon version
6464
run: echo "PHOTON_VERSION=$(./gradlew -q properties --property version | grep '^version:' | awk '{print $2}')" >> "$GITHUB_ENV"
6565

66-
- uses: actions/checkout@v6
66+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
6767
with:
6868
repository: osm-search/Nominatim
6969
path: Nominatim
@@ -72,7 +72,7 @@ jobs:
7272
run: echo "cache_key=$(/bin/date -u "+%Y%W")" >> "$GITHUB_ENV"
7373
shell: bash
7474

75-
- uses: actions/cache@v4
75+
- uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
7676
with:
7777
path: |
7878
Nominatim/data/country_osm_grid.sql.gz

0 commit comments

Comments
 (0)