skills: two CI lessons — retarget a pull request base through the API; run a gate's own check first #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ceres/corpus-retarget-api"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Two additions to skills/CI.md, one commit each.
Retarget a pull request's base through the API, not the page. The section said to retarget before pushing, but not how. The base is a field of the pull request resource, so a member token can change it in place where the web page refuses it; an answer of 201 there is the update rather than a second pull request, and closing and reopening instead throws away the review position and the run history.
Run the gate's own check before you blame the workflow. A job red on its first-ever run invites a hunt through the workflow, the runner and the caller's inputs. The gate's own script, extracted from the workflow and run against the tree, names the real cause in seconds; run against the default branch it tells you whether the debt was already there and is not yours to fix.
Corpus text only; both lessons are generalized (no names, hosts, paths, repositories or issue ids). Pushed as a branch because main is protected: whoever holds the merge may land it, or tell me to change it.
skills: retarget a pull request's base through the API, not the pageto skills: two CI lessons — retarget a pull request base through the API; run a gate's own check firstView command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.