Skip to content

Commit 576d2ea

Browse files
authored
SOLR-18192: Pin all GitHub Actions to full commit SHAs as per ASF policy (#4288)
1 parent bfeb294 commit 576d2ea

12 files changed

Lines changed: 21 additions & 21 deletions

.github/actions/prepare-for-build/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ runs:
2626
java-package: jdk
2727

2828
- name: Cache gradle-wrapper.jar
29-
uses: actions/cache@v4
29+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
3030
with:
3131
path: gradle/wrapper/gradle-wrapper.jar
3232
key: gradle-wrapper-${{ hashFiles('gradle/wrapper/gradle-wrapper.jar.sha256') }}

.github/workflows/bin-solr-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
steps:
2121
- name: Checkout code
22-
uses: actions/checkout@v5
22+
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
2323

2424
- uses: ./.github/actions/prepare-for-build
2525

@@ -28,7 +28,7 @@ jobs:
2828

2929
- name: Archive logs
3030
if: ${{ failure() }}
31-
uses: actions/upload-artifact@v6
31+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
3232
with:
3333
name: logs
3434
path: solr/packaging/build/test-output

.github/workflows/dependency-graph-submission.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ jobs:
1111
dependency-submission:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v5
14+
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
1515

16-
- uses: actions/setup-java@v5
16+
- uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
1717
with:
1818
distribution: temurin
1919
java-version: 21
2020

2121
- name: Generate and submit dependency graph
22-
uses: gradle/actions/dependency-submission@v5
22+
uses: gradle/actions/dependency-submission@0723195856401067f7a2779048b490ace7a47d7c # v5.0.2
2323
env:
2424
DEPENDENCY_GRAPH_INCLUDE_CONFIGURATIONS: "(?i)(^|:)(compileClasspath|runtimeClasspath|testCompileClasspath|testRuntimeClasspath)$"
2525
DEPENDENCY_GRAPH_EXCLUDE_CONFIGURATIONS: "(?i)(^|:)(classpath|.*PluginClasspath|kotlinCompilerClasspath|kaptClasspath|annotationProcessor|detachedConfiguration.*)$"

.github/workflows/docker-nightly.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -99,19 +99,19 @@ jobs:
9999

100100
steps:
101101
- name: Checkout code
102-
uses: actions/checkout@v5
102+
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
103103
with:
104104
ref: ${{ matrix.branch }}
105105

106106
- name: Set up Java (JDK ${{ matrix.gradle-jdk }})
107-
uses: actions/setup-java@v5
107+
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
108108
with:
109109
distribution: temurin
110110
java-version: ${{ matrix.gradle-jdk }}
111111
java-package: jdk
112112

113113
- name: Cache gradle-wrapper.jar
114-
uses: actions/cache@v5
114+
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
115115
with:
116116
path: gradle/wrapper/gradle-wrapper.jar
117117
key: gradle-wrapper-${{ hashFiles('gradle/wrapper/gradle-wrapper.jar.sha256') }}
@@ -144,13 +144,13 @@ jobs:
144144
EOF
145145
146146
- name: Set up QEMU for multi-platform builds
147-
uses: docker/setup-qemu-action@v3
147+
uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0
148148

149149
- name: Set up Docker Buildx
150-
uses: docker/setup-buildx-action@v3
150+
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
151151

152152
- name: Log in to Docker Hub
153-
uses: docker/login-action@v3
153+
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0
154154
with:
155155
username: ${{ secrets.DOCKERHUB_USER }}
156156
password: ${{ secrets.DOCKERHUB_TOKEN }}

.github/workflows/docker-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323

2424
steps:
2525
- name: Checkout code
26-
uses: actions/checkout@v5
26+
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
2727

2828
- uses: ./.github/actions/prepare-for-build
2929

.github/workflows/gradle-extraction-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
steps:
1919
- name: Checkout code
20-
uses: actions/checkout@v5
20+
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
2121

2222
- uses: ./.github/actions/prepare-for-build
2323

.github/workflows/gradle-precommit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
steps:
1616
- name: Checkout code
17-
uses: actions/checkout@v5
17+
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
1818

1919
- uses: ./.github/actions/prepare-for-build
2020

.github/workflows/labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
pull-requests: write
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/labeler@v6
12+
- uses: actions/labeler@634933edcd8ababfe52f92936142cc22ac488b1b # v6.0.1
1313
with:
1414
sync-labels: true
1515

.github/workflows/renovate-changelog.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ jobs:
2222

2323
steps:
2424
- name: Checkout PR branch
25-
uses: actions/checkout@v5
25+
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
2626
with:
2727
ref: ${{ github.event.pull_request.head.ref }}
2828
repository: ${{ github.event.pull_request.head.repo.full_name }}
2929
token: ${{ secrets.SOLRBOT_GITHUB_TOKEN }}
3030

3131
- name: Set up Python
32-
uses: actions/setup-python@v6
32+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
3333
with:
3434
python-version: '3.x'
3535

.github/workflows/solrj-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
steps:
1919
- name: Checkout code
20-
uses: actions/checkout@v5
20+
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
2121

2222
- uses: ./.github/actions/prepare-for-build
2323

0 commit comments

Comments
 (0)