9292 if : ${{ ! startsWith(github.ref, 'refs/heads/') && inputs.policy-working-dir == '.' }}
9393 # if we are on a single repo, we obtain the last draft release as it contains the changelog
9494 # and edit it by adding the artifacts. Then we mark the release as latest
95- uses : actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
95+ uses : actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
9696 with :
9797 script : |
9898 let releases = await github.rest.repos.listReleases({
@@ -111,7 +111,7 @@ runs:
111111 if : ${{ ! startsWith(github.ref, 'refs/heads/') && inputs.policy-working-dir == '.' }}
112112 # if we are on a single repo, we obtain the last draft release as it contains the changelog
113113 # and edit it by adding the artifacts. Then we mark the release as latest
114- uses : actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
114+ uses : actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
115115 env :
116116 POLICY_WORKING_DIR : ${{ inputs.policy-working-dir }}
117117 with :
@@ -143,7 +143,7 @@ runs:
143143
144144 # if we are on a single repo, we obtain the last draft release as it contains the changelog
145145 # and edit it by adding the artifacts. Then we mark the release as latest
146- uses : actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
146+ uses : actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
147147 env :
148148 POLICY_WORKING_DIR : ${{ inputs.policy-working-dir }}
149149 with :
@@ -173,7 +173,7 @@ runs:
173173 if : ${{ ! startsWith(github.ref, 'refs/heads/') && inputs.policy-working-dir == '.' }}
174174 # if we are on a single repo, we obtain the last draft release as it contains the changelog
175175 # and edit it by adding the artifacts. Then we mark the release as latest
176- uses : actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
176+ uses : actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
177177 with :
178178 script : |
179179 const {RELEASE_ID} = process.env
0 commit comments