4343 steps :
4444 - name : Release Please
4545 id : release
46- uses : googleapis/release-please-action@v5
46+ uses : googleapis/release-please-action@45996ed1f6d02564a971a2fa1b5860e934307cf7 # v5.0.0
4747 with :
4848 config-file : release-please-config.json
4949 manifest-file : .release-please-manifest.json
6969 BUILD_REF : ${{ github.event_name == 'workflow_dispatch' && (inputs.ref || inputs.tag) || needs.release-please.outputs.tag_name }}
7070 steps :
7171 - name : Checkout
72- uses : actions/checkout@v7
72+ uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
7373 with :
7474 ref : ${{ github.event_name == 'workflow_dispatch' && (inputs.ref || inputs.tag) || needs.release-please.outputs.tag_name }}
7575
@@ -86,22 +86,22 @@ jobs:
8686 echo "ref=$BUILD_REF" >> "$GITHUB_OUTPUT"
8787
8888 - name : Validate Gradle Wrapper
89- uses : gradle/actions/wrapper-validation@v6
89+ uses : gradle/actions/wrapper-validation@3f5f9adaf7d9fecd50b5935e54106014257a94e6 # v6.4.0
9090
9191 - name : Setup Java
92- uses : actions/setup-java@v6
92+ uses : actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6 # v6.0.1
9393 with :
9494 distribution : temurin
9595 java-version : 25
9696
9797 - name : Setup Gradle
98- uses : gradle/actions/setup-gradle@v6
98+ uses : gradle/actions/setup-gradle@3f5f9adaf7d9fecd50b5935e54106014257a94e6 # v6.4.0
9999
100100 - name : Build
101101 run : ./gradlew check shadowJar cyclonedxBom
102102
103103 - name : Upload plugin JAR
104- uses : actions/upload-artifact@v7
104+ uses : actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
105105 with :
106106 name : plugin-jar
107107 path : |
@@ -111,7 +111,7 @@ jobs:
111111 retention-days : 14
112112
113113 - name : Upload SBOM artifact
114- uses : actions/upload-artifact@v7
114+ uses : actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
115115 with :
116116 name : sbom
117117 path : build/reports/cyclonedx/bom.xml
@@ -120,7 +120,7 @@ jobs:
120120
121121 - name : Upload build reports
122122 if : always()
123- uses : actions/upload-artifact@v7
123+ uses : actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
124124 with :
125125 name : publish-reports
126126 path : build/reports/**
@@ -137,7 +137,7 @@ jobs:
137137 permissions :
138138 contents : read
139139 security-events : write # SARIF upload to code scanning
140- uses : OneLiteFeatherNET/workflows/.github/workflows/security-scan.yml@v2.9.0
140+ uses : OneLiteFeatherNET/workflows/.github/workflows/security-scan.yml@ec5d37fed94ad59e54868d63af6ea4ef4ee4e84c # v2.9.0
141141 with :
142142 scan-type : rootfs
143143 artifact-name : plugin-jar
@@ -162,12 +162,12 @@ jobs:
162162 TAG_NAME : ${{ github.event_name == 'workflow_dispatch' && inputs.tag || needs.release-please.outputs.tag_name }}
163163 steps :
164164 - name : Checkout
165- uses : actions/checkout@v7
165+ uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
166166 with :
167167 ref : ${{ needs.build.outputs.ref }}
168168
169169 - name : Download plugin JAR
170- uses : actions/download-artifact@v8
170+ uses : actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
171171 with :
172172 name : plugin-jar
173173 path : build/libs
@@ -182,13 +182,13 @@ jobs:
182182 run : gh release upload "$TAG_NAME" build/libs/BetterGoPaint-*.jar --clobber
183183
184184 - name : Setup Java
185- uses : actions/setup-java@v6
185+ uses : actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6 # v6.0.1
186186 with :
187187 distribution : temurin
188188 java-version : 25
189189
190190 - name : Setup Gradle
191- uses : gradle/actions/setup-gradle@v6
191+ uses : gradle/actions/setup-gradle@3f5f9adaf7d9fecd50b5935e54106014257a94e6 # v6.4.0
192192
193193 - name : Publish to Hangar and Modrinth
194194 env :
@@ -214,7 +214,7 @@ jobs:
214214 sbom :
215215 name : Publish SBOM
216216 needs : [build, publish]
217- uses : OneLiteFeatherNET/workflows/.github/workflows/sbom-publish.yml@v2.9.0
217+ uses : OneLiteFeatherNET/workflows/.github/workflows/sbom-publish.yml@ec5d37fed94ad59e54868d63af6ea4ef4ee4e84c # v2.9.0
218218 with :
219219 project-name : " BetterGoPaint"
220220 project-version : ${{ needs.build.outputs.version }}
0 commit comments