Skip to content

Commit 3d451ef

Browse files
committed
hardens the release action
1 parent 765026f commit 3d451ef

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/publish-to-maven-central.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,11 @@ jobs:
1414
steps:
1515
# 1. Checkout code
1616
- name: Check out code
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1818

1919
# 2. Set up JDK 21
20-
2120
- name: Set up JDK 21
22-
uses: actions/setup-java@v4
21+
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00
2322
with:
2423
distribution: "zulu"
2524
java-version: 21

.github/workflows/sonarcloud.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ jobs:
2222
with:
2323
egress-policy: audit
2424

25-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
25+
- name: Check out code
26+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2627
with:
2728
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
2829

0 commit comments

Comments
 (0)