Skip to content

Commit 747ef98

Browse files
authored
ci(actions): PLAT-3824 Update External GitHub Actions and Pin Full Commit SHAs (#672)
ci(actions): pin external actions to full SHAs Immutable latest-version pins prevent runtime and supply-chain drift while preserving the resolved release version in comments.
1 parent 4baf845 commit 747ef98

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121
runs-on: ${{ startsWith(github.repository, 'stainless-sdks/') && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
2222
if: (github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata')
2323
steps:
24-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
24+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2525

2626
- name: Set up Node
27-
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
27+
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
2828
with:
2929
node-version: '24'
3030

@@ -43,10 +43,10 @@ jobs:
4343
contents: read
4444
id-token: write
4545
steps:
46-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
46+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
4747

4848
- name: Set up Node
49-
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
49+
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
5050
with:
5151
node-version: '24'
5252

@@ -61,7 +61,7 @@ jobs:
6161
github.repository == 'stainless-sdks/finch-typescript' &&
6262
!startsWith(github.ref, 'refs/heads/stl/')
6363
id: github-oidc
64-
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
64+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
6565
with:
6666
script: core.setOutput('github_token', await core.getIDToken());
6767

@@ -91,10 +91,10 @@ jobs:
9191
runs-on: ${{ startsWith(github.repository, 'stainless-sdks/') && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
9292
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
9393
steps:
94-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
94+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
9595

9696
- name: Set up Node
97-
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
97+
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
9898
with:
9999
node-version: '24'
100100

.github/workflows/publish-npm.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121
id-token: write
2222

2323
steps:
24-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
24+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2525

2626
- name: Set up Node
27-
uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3.9.1
27+
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
2828
with:
2929
node-version: '24'
3030

.github/workflows/release-doctor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
if: github.repository == 'Finch-API/finch-api-node' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')
1313

1414
steps:
15-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
15+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
1616

1717
- name: Check release environment
1818
run: |

0 commit comments

Comments
 (0)