Repository navigation
chore: fix oncall fill-schedule authentication - #4423
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe fill-schedule workflow now uses ChangesOn-call schedule workflow
Estimated code review effort: 1 (Trivial) | ~5 minutes Merge Risk: ⚪ Minimal · up to This change updates the workflow authentication handling and targets the canary branch while preserving CI-triggering credentials; no actionable merge-blocking risk remains after normal checks and review. Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
⏭️ Performance benchmarks were skippedPerf benchmarks (CodSpeed) are opt-in on pull requests — they no longer run on every push. They always run automatically after merge to To run them on this PR, do any of the following, then push a commit (or re-run CI):
|
|
@coderabbitai review |
|
## Summary - upgrade the remaining `peter-evans/create-pull-request` workflow reference from v6 to v8 - leave every repository reference on v8, including the oncall workflow updated by BoundaryML#4423 - retain the existing PAT, explicit `canary` base, and path restrictions for the size-gate baseline refresh PR ## Why create-pull-request v8 supports checkout v6's credential-file behavior and uses the supported Node 24 runtime. Keeping all uses on the same current major avoids the duplicate Authorization header incompatibility fixed in v7.0.9 and removes the Node 20 deprecation from these jobs. ## Validation - `actionlint .github/workflows/oncall.yml .github/workflows/size-gate-baseline-refresh.yml` - repository-wide hidden-file search confirms exactly two create-pull-request references and both use v8 - repository-wide guard confirms no create-pull-request v0-v7, `main`, or `master` references remain - full `actionlint` was also run and reports pre-existing errors in unrelated workflows; neither affected workflow has an error
Summary
peter-evans/create-pull-requestfrom v6 to v8, which includes native compatibility with checkout v6 credential filescanarywhile retaining the PAT that allows the generated pull request to trigger CIRoot cause
In the failed scheduled run,
actions/checkout@v6persistedGITHUB_TOKENin a credential file included from local Git config.create-pull-request@v6only checked the direct localhttp.https://github.com/.extraheader, did not see checkout's included Authorization header, and added the PAT as another Authorization header. Git sent both duringgit remote prune origin, and GitHub returned HTTP 400 withDuplicate header: "Authorization".Upstream fixed this checkout v6 incompatibility in create-pull-request#4230, released in v7.0.9; v8 includes that fix and uses the supported Node 24 runtime.
Validation
actionlint .github/workflows/oncall.yml./tools/bctl oncall check./tools/bctl oncall fill-schedulein a temporary archive: appended 14 weeks, changed onlyschedule.oncall, and the resulting schedule passedoncall checkfill-schedulepath from this feature branch because it can mutate the sharedoncall/fill-schedulebranch and create/update a real PR with a production PAT; exercise the real path after merge via the normal scheduled/manual run