Skip to content

Commit d8184e4

Browse files
authored
ci: bump Shadow engine to v1.7 (#284)
* ci: bump Shadow engine to v1.7 Re-pin the reusable Shadow workflow from 54ec94e (v1.6) to v1.7, following the dqdl canary (awslabs/dqdl#41, merged + soaking). v1.7 adds configurable allowed_labels and a bot_name-branded rate-limit label; no .shadow.yml change here, so those features stay dormant (behavior unchanged). OIDC unaffected: the bot role's trust is sub-scoped (repo:...:*), not pinned to the workflow ref, so the ref bump doesn't affect role assumption. * ci: pin Shadow v1.7 by commit SHA, not the mutable tag Address review feedback: pin the reusable workflow to the full commit SHA v1.7 points to (ed31ed7) with a '# v1.7' comment, per GitHub Actions supply-chain hardening — a mutable tag could be re-pointed to run untrusted code with this workflow's OIDC/secret access. Immutable + readable.
1 parent 0e3be7f commit d8184e4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/issue-bot.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: Shadow # load-bearing: auto-approve.yml keys on this exact name
2-
# To upgrade the engine, bump the SHA in BOTH `uses:` and `shadow_ref` below
2+
# To upgrade the engine, bump the ref in BOTH `uses:` and `shadow_ref` below
33
# (GitHub forbids expressions in `uses:`, so they can't share a variable).
44

55
on:
@@ -40,11 +40,11 @@ jobs:
4040
(github.event_name == 'workflow_dispatch') ||
4141
(github.actor != 'github-actions[bot]' &&
4242
(github.event.issue.pull_request == null || github.event_name == 'pull_request_target'))
43-
uses: sudsali/shadow/.github/workflows/shadow-review.yml@54ec94e0ca8c90d9b58ff95a2a06b175a115784e
43+
uses: sudsali/shadow/.github/workflows/shadow-review.yml@ed31ed7e30ef81be82d7b8b756b626f876036d73 # v1.7
4444
with:
4545
pr_number: ${{ inputs.issue_number }}
4646
dry_run: ${{ inputs.dry_run && 'true' || 'false' }}
47-
shadow_ref: 54ec94e0ca8c90d9b58ff95a2a06b175a115784e
47+
shadow_ref: ed31ed7e30ef81be82d7b8b756b626f876036d73 # v1.7
4848
aws_region: us-east-1
4949
prompt_sm_prefix: pydeequ-bot
5050
secrets:

0 commit comments

Comments
 (0)