fix(scaffold): use __FULLSEND_AI_REF__ for mint-token action refs - #2628
Conversation
Replace hardcoded @v0 with __FULLSEND_AI_REF__ placeholder for the mint-token composite action in prioritize-scheduler and repo-maintenance scaffold templates. At scaffold time the placeholder is replaced with a SHA pin, matching the pattern already used by reusable workflow refs. Without this, downstream .fullsend repos that enable sha_pinning_required reject mint-token@v0 as an unpinned action ref. Assisted-by: Claude Signed-off-by: Wayne Sun <gsun@redhat.com>
PR Summary by QodoFix scaffold workflows to pin mint-token action via FULLSEND_AI_REF Description
Diagram
High-Level Assessment
Files changed (2)
|
Site previewPreview: https://89e504e3-site.fullsend-ai.workers.dev Commit: |
Code Review by Qodo
1.
|
|
🤖 Finished Review · ✅ Success · Started 7:01 PM UTC · Completed 7:09 PM UTC |
|
Looks good to me Previous runReviewFindingsHigh
Labels: PR modifies scaffold workflow templates under internal/scaffold/ |
Update scaffold_test.go assertions to expect mint-token@__FULLSEND_AI_REF__ instead of mint-token@v0, matching the template change. Assisted-by: Claude Signed-off-by: Wayne Sun <gsun@redhat.com>
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
🤖 Finished Review · ✅ Success · Started 9:21 PM UTC · Completed 9:30 PM UTC |
|
🤖 Finished Retro · ✅ Success · Started 9:46 PM UTC · Completed 9:50 PM UTC |
Retro: PR #2628 — fix(scaffold): use
|
Summary
@v0with@__FULLSEND_AI_REF__formint-tokencomposite action inprioritize-scheduler.ymlandrepo-maintenance.ymlscaffold templatesuses:refs (from feat(scaffold): pin workflow refs to release commit SHA #2615)Without this, downstream
.fullsendrepos that enablesha_pinning_requiredrejectmint-token@v0as an unpinned action ref. Confirmed by triggeringprioritize-scheduleronfullsend-ai/.fullsendafter enabling the policy — run 28122373431 failed with:Test plan
prioritize-scheduleronfullsend-ai/.fullsendand confirm it passesrepo-maintenancealso passes