Skip to content

Commit 9f82616

Browse files
ci(release): pin actions/github-script to a SHA in promote-rc
Match the repo-wide SHA pin main applies to every github-script use, so the new promote-rc workflow doesn't regress the Scorecard pinned-dependencies check. Assisted-By: Claude <[email protected]> Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> Signed-off-by: Myasnikov Daniil <[email protected]>
1 parent 9f6968b commit 9f82616

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎.github/workflows/promote-rc.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
id: parse
5656
env:
5757
RC_TAG: ${{ inputs.rc_tag }}
58-
uses: actions/github-script@v7
58+
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7
5959
with:
6060
script: |
6161
const rc = process.env.RC_TAG.trim();
@@ -77,7 +77,7 @@ jobs:
7777
# Gate: the rc must exist as a (draft) release and the stable tag must NOT
7878
# exist yet. Refuse to promote twice or to an already-shipped version.
7979
- name: Validate rc is promotable
80-
uses: actions/github-script@v7
80+
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7
8181
with:
8282
github-token: ${{ steps.app-token.outputs.token }}
8383
script: |

0 commit comments

Comments
 (0)