Skip to content

Commit a2358bb

Browse files
committed
Use SHA Hashes
This commit updates workflows to use SHA hashes to reference other actions and workflows Signed-off-by: Josh Cummings <3627351+jzheaux@users.noreply.github.com>
1 parent fbe09c2 commit a2358bb

5 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/check-snapshots.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ permissions:
1414
jobs:
1515
snapshot-test:
1616
name: Test Against Snapshots
17-
uses: spring-io/spring-security-release-tools/.github/workflows/test.yml@v1
17+
uses: spring-io/spring-security-release-tools/.github/workflows/test.yml@ed473b4dafba053c63a453d2d88a89df3b3e18b3 # v1
1818
strategy:
1919
matrix:
2020
include:
@@ -33,6 +33,6 @@ jobs:
3333
runs-on: ubuntu-latest
3434
steps:
3535
- name: Send Notification
36-
uses: spring-io/spring-security-release-tools/.github/actions/send-notification@v1
36+
uses: spring-io/spring-security-release-tools/.github/actions/send-notification@ed473b4dafba053c63a453d2d88a89df3b3e18b3 # v1
3737
with:
3838
webhook-url: ${{ secrets.SPRING_SECURITY_CI_GCHAT_WEBHOOK_URL }}

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ jobs:
1414
actions: read
1515
contents: read
1616
security-events: write
17-
uses: spring-io/github-actions/.github/workflows/codeql-analysis.yml@1
17+
uses: spring-io/github-actions/.github/workflows/codeql-analysis.yml@e415dadd0910c901e7a7fabd67bbb355b2324500 # 1

.github/workflows/defer-issues.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,21 @@ jobs:
1818
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1919
- name: Compute Version
2020
id: compute-version
21-
uses: spring-io/spring-release-actions/compute-version@0.0.4
21+
uses: spring-io/spring-release-actions/compute-version@2420148725bebe44bd59a575a9b1961ca4459b0b # 0.0.4
2222
- name: Get Today's Release Version
2323
id: todays-release
24-
uses: spring-io/spring-release-actions/get-todays-release-version@0.0.4
24+
uses: spring-io/spring-release-actions/get-todays-release-version@2420148725bebe44bd59a575a9b1961ca4459b0b # 0.0.4
2525
with:
2626
snapshot-version: ${{ steps.compute-version.outputs.version }}
2727
milestone-repository: ${{ github.repository }}
2828
milestone-token: ${{ secrets.GITHUB_TOKEN }}
2929
- name: Compute Next Version
3030
id: next-version
31-
uses: spring-io/spring-release-actions/compute-next-version@0.0.4
31+
uses: spring-io/spring-release-actions/compute-next-version@2420148725bebe44bd59a575a9b1961ca4459b0b # 0.0.4
3232
with:
3333
version: ${{ steps.todays-release.outputs.release-version }}
3434
- name: Schedule Next Milestone
35-
uses: spring-io/spring-release-actions/schedule-milestone@0.0.4
35+
uses: spring-io/spring-release-actions/schedule-milestone@2420148725bebe44bd59a575a9b1961ca4459b0b # 0.0.4
3636
with:
3737
version: ${{ steps.next-version.outputs.version }}
3838
version-date: ${{ steps.next-version.outputs.version-date }}

.github/workflows/finalize-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ permissions:
1616
jobs:
1717
perform-release:
1818
name: Perform Release
19-
uses: spring-io/spring-security-release-tools/.github/workflows/perform-release.yml@v1
19+
uses: spring-io/spring-security-release-tools/.github/workflows/perform-release.yml@ed473b4dafba053c63a453d2d88a89df3b3e18b3 # v1
2020
with:
2121
should-perform-release: true
2222
project-version: ${{ inputs.version }}

.github/workflows/update-antora-ui-spring.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
matrix:
1919
branch: [ '6.4.x', '6.5.x', 'main' ]
2020
steps:
21-
- uses: spring-io/spring-doc-actions/update-antora-spring-ui@415e2b11a766ba64799fffb5c97a4f7e17f677cf
21+
- uses: spring-io/spring-doc-actions/update-antora-spring-ui@415e2b11a766ba64799fffb5c97a4f7e17f677cf # v0.0.22
2222
name: Update
2323
with:
2424
docs-branch: ${{ matrix.branch }}
@@ -28,7 +28,7 @@ jobs:
2828
runs-on: ubuntu-latest
2929
name: Update on docs-build
3030
steps:
31-
- uses: spring-io/spring-doc-actions/update-antora-spring-ui@415e2b11a766ba64799fffb5c97a4f7e17f677cf
31+
- uses: spring-io/spring-doc-actions/update-antora-spring-ui@415e2b11a766ba64799fffb5c97a4f7e17f677cf # v0.0.22
3232
name: Update
3333
with:
3434
docs-branch: 'docs-build'

0 commit comments

Comments
 (0)