1515 id-token : write # Required for the attestations step
1616 attestations : write # Required for the attestations step
1717 steps :
18- - uses : actions/checkout@v5
19- - uses : actions/setup-java@v5
18+ - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
19+ - uses : actions/setup-java@f2beeb24e141e01a676f977032f5a29d81c9e27e # v5.1.0
2020 with :
2121 distribution : ' temurin'
2222 java-version : ${{ env.JAVA_VERSION }}
@@ -28,12 +28,12 @@ jobs:
2828 run : mvn -B verify --no-transfer-progress
2929 - name : Attest
3030 if : startsWith(github.ref, 'refs/tags/')
31- uses : actions/attest-build-provenance@v3
31+ uses : actions/attest-build-provenance@977bb373ede98d70efdf65b84cb5f73e068dcc2a # v3.0.0
3232 with :
3333 subject-path : |
3434 target/*.jar
3535 target/*.pom
36- - uses : actions/upload-artifact@v5
36+ - uses : actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
3737 with :
3838 name : artifacts
3939 path : target/*.jar
4545 needs : [build]
4646 if : github.repository_owner == 'cryptomator' && (startsWith(github.ref, 'refs/tags/') || contains(github.event.head_commit.message, '[deploy]'))
4747 steps :
48- - uses : actions/checkout@v5
49- - uses : actions/setup-java@v5
48+ - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
49+ - uses : actions/setup-java@f2beeb24e141e01a676f977032f5a29d81c9e27e # v5.1.0
5050 with :
5151 distribution : ' temurin'
5252 java-version : ${{ env.JAVA_VERSION }}
7979 needs : [build]
8080 if : github.repository_owner == 'cryptomator' && (startsWith(github.ref, 'refs/tags/') || contains(github.event.head_commit.message, '[deploy]'))
8181 steps :
82- - uses : actions/checkout@v5
83- - uses : actions/setup-java@v5
82+ - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
83+ - uses : actions/setup-java@f2beeb24e141e01a676f977032f5a29d81c9e27e # v5.1.0
8484 with :
8585 java-version : ${{ env.JAVA_VERSION }}
8686 distribution : ' temurin'
@@ -110,7 +110,7 @@ jobs:
110110 if : startsWith(github.ref, 'refs/tags/')
111111 steps :
112112 - name : Create Release
113- uses : softprops/action-gh-release@v2
113+ uses : softprops/action-gh-release@a06a81a03ee405af7f2048a818ed3f03bbf83c7b # v2.5.0
114114 with :
115115 prerelease : true
116116 token : ${{ secrets.CRYPTOBOT_RELEASE_TOKEN }}
0 commit comments