From 5b638a54a4c0f74747c9d9ae7d2edc5c754a9322 Mon Sep 17 00:00:00 2001 From: Josh Cummings <3627351+jzheaux@users.noreply.github.com> Date: Fri, 17 Apr 2026 14:15:50 -0600 Subject: [PATCH] Use SHA Hashes This commit updates workflows that were using tags to instead use SHA hashes to reference actions and workflows Signed-off-by: Josh Cummings <3627351+jzheaux@users.noreply.github.com> --- .github/workflows/codeql.yml | 2 +- .github/workflows/continuous-integration-workflow.yml | 2 +- .github/workflows/defer-issues.yml | 8 ++++---- .github/workflows/update-antora-ui-spring.yml | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index dabe0665f0..28a3c138b2 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -14,4 +14,4 @@ jobs: actions: read contents: read security-events: write - uses: spring-io/github-actions/.github/workflows/codeql-analysis.yml@1 + uses: spring-io/github-actions/.github/workflows/codeql-analysis.yml@e415dadd0910c901e7a7fabd67bbb355b2324500 # 1 diff --git a/.github/workflows/continuous-integration-workflow.yml b/.github/workflows/continuous-integration-workflow.yml index 7f990476d5..a9da48f0f3 100644 --- a/.github/workflows/continuous-integration-workflow.yml +++ b/.github/workflows/continuous-integration-workflow.yml @@ -48,7 +48,7 @@ jobs: steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Set up gradle - uses: spring-io/spring-gradle-build-action@v2 + uses: spring-io/spring-gradle-build-action@efc55f07f4dfa22f2afd97f9ea1be4212eeed737 # v2.0.5 with: java-version: 17 distribution: temurin diff --git a/.github/workflows/defer-issues.yml b/.github/workflows/defer-issues.yml index 9f8b3f0c47..298fcdcd33 100644 --- a/.github/workflows/defer-issues.yml +++ b/.github/workflows/defer-issues.yml @@ -18,21 +18,21 @@ jobs: uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Compute Version id: compute-version - uses: spring-io/spring-release-actions/compute-version@0.0.4 + uses: spring-io/spring-release-actions/compute-version@2420148725bebe44bd59a575a9b1961ca4459b0b # 0.0.4 - name: Get Today's Release Version id: todays-release - uses: spring-io/spring-release-actions/get-todays-release-version@0.0.4 + uses: spring-io/spring-release-actions/get-todays-release-version@2420148725bebe44bd59a575a9b1961ca4459b0b # 0.0.4 with: snapshot-version: ${{ steps.compute-version.outputs.version }} milestone-repository: ${{ github.repository }} milestone-token: ${{ secrets.GITHUB_TOKEN }} - name: Compute Next Version id: next-version - uses: spring-io/spring-release-actions/compute-next-version@0.0.4 + uses: spring-io/spring-release-actions/compute-next-version@2420148725bebe44bd59a575a9b1961ca4459b0b # 0.0.4 with: version: ${{ steps.todays-release.outputs.release-version }} - name: Schedule Next Milestone - uses: spring-io/spring-release-actions/schedule-milestone@0.0.4 + uses: spring-io/spring-release-actions/schedule-milestone@2420148725bebe44bd59a575a9b1961ca4459b0b # 0.0.4 with: version: ${{ steps.next-version.outputs.version }} version-date: ${{ steps.next-version.outputs.version-date }} diff --git a/.github/workflows/update-antora-ui-spring.yml b/.github/workflows/update-antora-ui-spring.yml index 85f0b6de63..1da0525d24 100644 --- a/.github/workflows/update-antora-ui-spring.yml +++ b/.github/workflows/update-antora-ui-spring.yml @@ -18,7 +18,7 @@ jobs: matrix: branch: [ '5.8.x', '6.2.x', '6.3.x', 'main' ] steps: - - uses: spring-io/spring-doc-actions/update-antora-spring-ui@415e2b11a766ba64799fffb5c97a4f7e17f677cf + - uses: spring-io/spring-doc-actions/update-antora-spring-ui@415e2b11a766ba64799fffb5c97a4f7e17f677cf # v0.0.22 name: Update with: docs-branch: ${{ matrix.branch }} @@ -28,7 +28,7 @@ jobs: runs-on: ubuntu-latest name: Update on docs-build steps: - - uses: spring-io/spring-doc-actions/update-antora-spring-ui@415e2b11a766ba64799fffb5c97a4f7e17f677cf + - uses: spring-io/spring-doc-actions/update-antora-spring-ui@415e2b11a766ba64799fffb5c97a4f7e17f677cf # v0.0.22 name: Update with: docs-branch: 'docs-build'