@@ -98,14 +98,19 @@ jobs:
9898
9999 runs-on : ubuntu-latest
100100 steps :
101+ - name : Harden the runner (Audit all outbound calls)
102+ uses : step-security/harden-runner@fa2e9d605c4eeb9fcad4c99c224cee0c6c7f3594 # v2.16.0
103+ with :
104+ egress-policy : audit
105+
101106 - name : git-checkout-ref-action
102107 id : ref
103- uses : ORCID/git-checkout-ref-action@main
108+ uses : ORCID/git-checkout-ref-action@4258c0cbe4b164e410d0263416034787fb300f26 # main
104109 with :
105110 default_branch : ${{ github.event.repository.default_branch }}
106111 ref : ${{ inputs.ref }}
107112
108- - uses : actions/checkout@v4
113+ - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
109114 with :
110115 ref : ${{ steps.ref.outputs.ref }}
111116 # checkout some history so we can scan commits for bump messages
@@ -114,13 +119,13 @@ jobs:
114119
115120 - name : find next version
116121 id : version
117- uses : ORCID/version-bump-action@main
122+ uses : ORCID/version-bump-action@75233259407ae3728171973d09bc66fcf4b15b6a # main
118123 with :
119124 version_tag : ${{ inputs.version_tag }}
120125 bump : ${{ inputs.bump }}
121126
122127 - name : Set up Open JDK 11
123- uses : actions/setup-java@v4
128+ uses : actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4.8.0
124129 with :
125130 distribution : ' temurin'
126131 java-version : ' 11'
@@ -129,7 +134,7 @@ jobs:
129134
130135 - name : if not installing dependencies restore special previous git_sha cache
131136 if : ${{ ! inputs.install_maven_dependencies }}
132- uses : actions/cache@v4
137+ uses : actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
133138 with :
134139 path : ~/.m2/repository
135140 key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}-${{ steps.version.outputs.version_tag_numeric }}-${{ github.sha }}
@@ -148,7 +153,7 @@ jobs:
148153
149154 - name : if installing dependencies use a standard cache key name
150155 if : ${{ inputs.install_maven_dependencies }}
151- uses : actions/cache@v4
156+ uses : actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
152157 with :
153158 path : ~/.m2/repository
154159 key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}-seed-cache
@@ -158,14 +163,14 @@ jobs:
158163 - name : seed_maven_cache
159164 if : ${{ inputs.seed_maven_cache }}
160165 id : cache
161- uses : ORCID/ORCID-Source-cache-action@main
166+ uses : ORCID/ORCID-Source-cache-action@9831e0ffb2e9db46bffa6bb55fb897d159da5668 # main
162167 with :
163168 version_tag_numeric : ${{ steps.version.outputs.version_tag_numeric }}
164169
165170 - name : install_dependencies and bump version
166171 if : ${{ inputs.install_maven_dependencies }}
167172 id : install_dependencies
168- uses : ORCID/ORCID-Source-dependencies-action@main
173+ uses : ORCID/ORCID-Source-dependencies-action@e470d485ef8dc69858100998d77d03ccefb06ef1 # main
169174 with :
170175 version_tag_numeric : ${{ steps.version.outputs.version_tag_numeric }}
171176
@@ -187,7 +192,7 @@ jobs:
187192
188193 - name : setup node for angular static file
189194 if : ${{ matrix.project == 'orcid-web' }}
190- uses : actions/setup-node@v4
195+ uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
191196 with :
192197 node-version : 18.7.0
193198
0 commit comments