Skip to content

Commit 0d8dde5

Browse files
authored
ci: rotate ec2-github-runner SHA to Phase 6.a tip (IMDSv2 required) (#187)
namecheap/ec2-github-runner#24 merged. RunInstances now sets MetadataOptions.HttpTokens to 'required' by default (opt-out via new http-tokens input). Mitigates SSRF-to-IAM-credential theft from workloads running on the runner. Transparent for aws-sdk, SSM agent, cloud-init, and any go/python workflow — all use IMDSv2 natively. Rotation: 46cf1d0 (Phase 5) -> 6bb148b (Phase 6.a). Signed-off-by: yuriyryabikov <22548029+kurok@users.noreply.github.com>
1 parent 281c52e commit 0d8dde5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ jobs:
140140
# SHA-pinned (was @feat/al2023-support). The same SHA is reused by
141141
# the stop-runner step so both halves of the runner lifecycle run
142142
# identical action code.
143-
uses: namecheap/ec2-github-runner@46cf1d0caac2cb1698dff6ba2aba682e45bd85c7 # feat/al2023-support @ 2026-04-21 — Phase 5: retry + independent cleanup in stop
143+
uses: namecheap/ec2-github-runner@6bb148b43cd5b3734d81f8a7dd7ab15b3d7f7a8b # feat/al2023-support @ 2026-04-21 — Phase 6.a: IMDSv2 required
144144
with:
145145
mode: start
146146
github-token: ${{ secrets.GH_TOKEN }}
@@ -231,7 +231,7 @@ jobs:
231231
- name: Stop EC2 runner
232232
# SHA-pinned (was @main). Matches the start-runner step above so
233233
# stop logic is in lockstep with the code that started the runner.
234-
uses: namecheap/ec2-github-runner@46cf1d0caac2cb1698dff6ba2aba682e45bd85c7 # feat/al2023-support @ 2026-04-21 — Phase 5: retry + independent cleanup in stop
234+
uses: namecheap/ec2-github-runner@6bb148b43cd5b3734d81f8a7dd7ab15b3d7f7a8b # feat/al2023-support @ 2026-04-21 — Phase 6.a: IMDSv2 required
235235
with:
236236
mode: stop
237237
github-token: ${{ secrets.GH_TOKEN }}

0 commit comments

Comments
 (0)