Skip to content

Commit 9b67cdd

Browse files
author
Alex Wang
committed
Pin action version to SHA
1 parent 21e015f commit 9b67cdd

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,22 +62,22 @@ jobs:
6262

6363
- name: Generate JaCoCo Badge
6464
if: ${{ github.ref == 'refs/heads/main' && matrix.java == 17 }}
65-
uses: cicirello/jacoco-badge-generator@v2
65+
uses: cicirello/jacoco-badge-generator@3bbf7f5f44bbe1e64d7d703b09f8f16abd4164e2 # v2
6666
with:
6767
jacoco-csv-file: coverage-report/target/site/jacoco-aggregate/jacoco.csv
6868
badges-directory: coverage-report/target/site/jacoco-aggregate
6969

7070
- name: Publish coverage report to GitHub Pages
7171
if: ${{ github.ref == 'refs/heads/main' && matrix.java == 17 }}
72-
uses: JamesIves/github-pages-deploy-action@v4
72+
uses: JamesIves/github-pages-deploy-action@d92aa235d04922e8f08b40ce78cc5442fcfbfa2f # v4
7373
with:
7474
branch: docs
7575
folder: coverage-report/target/site/jacoco-aggregate
7676
target-folder: coverage
7777

7878
- name: Deploy javadoc to Github Pages
7979
if: ${{ github.ref == 'refs/heads/main' && matrix.java == 17 }}
80-
uses: MathieuSoysal/Javadoc-publisher.yml@v3.0.2
80+
uses: MathieuSoysal/Javadoc-publisher.yml@fda475b197081ba1eca7a1dfadf0c017080a1623 # v3.0.2
8181
with:
8282
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8383
javadoc-branch: docs

.github/workflows/notify_slack.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
node-version: '24.x'
1919
- name: Send issue notification to Slack
2020
if: github.event_name == 'issues'
21-
uses: slackapi/slack-github-action@v3.0.1
21+
uses: slackapi/slack-github-action@af78098f536edbc4de71162a307590698245be95 # v3.0.1
2222
with:
2323
webhook: ${{ secrets.SLACK_WEBHOOK_URL_ISSUE }}
2424
webhook-type: incoming-webhook
@@ -31,7 +31,7 @@ jobs:
3131
3232
- name: Send pull request notification to Slack
3333
if: github.event_name == 'pull_request_target'
34-
uses: slackapi/slack-github-action@v3.0.1
34+
uses: slackapi/slack-github-action@af78098f536edbc4de71162a307590698245be95 # v3.0.1
3535
with:
3636
webhook: ${{ secrets.SLACK_WEBHOOK_URL_PR }}
3737
webhook-type: incoming-webhook

.github/workflows/release_maven.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,15 @@ jobs:
6060
git commit -m "chore: release version ${{ github.event.inputs.release_version }}"
6161
6262
- name: Push changes
63-
uses: ad-m/github-push-action@master
63+
uses: ad-m/github-push-action@4cc74773234f74829a8c21bc4d69dd4be9cfa599 # master
6464
with:
6565
github_token: ${{ secrets.GITHUB_TOKEN }}
6666

6767
- name: Build artifacts
6868
run: mvn clean install -q -Dlog4j2.level=WARN -Dlog4j.configurationFile=log4j2-quiet.xml --no-transfer-progress
6969

7070
- name: Create GitHub Release
71-
uses: softprops/action-gh-release@v2
71+
uses: softprops/action-gh-release@153bb8e04406b158c6c84fc1615b65b24149a1fe # v2
7272
with:
7373
tag_name: v${{ github.event.inputs.release_version }}
7474
name: Release v${{ github.event.inputs.release_version }}
@@ -100,6 +100,6 @@ jobs:
100100
git commit -m "chore: bump version to ${{ github.event.inputs.next_version }}"
101101
102102
- name: Push changes
103-
uses: ad-m/github-push-action@master
103+
uses: ad-m/github-push-action@4cc74773234f74829a8c21bc4d69dd4be9cfa599 # master
104104
with:
105105
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)