Repository navigation
ci: Add the /signoff PR command - #16
cgwalters-bot wants to merge 1 commit into
Conversation
DCO is a required check here, and PRs from contributors who forgot to sign off (or from the bot, which never does) sit blocked until someone rewrites them by hand. This lets a maintainer comment `/signoff` to add their own Signed-off-by to all of a PR's commits, leaving them otherwise unchanged, or `/rebase-signoff` to also rebase onto main. The file is the org-wide stub from bootc-dev/infra's common/ directory, which sync-common will install everywhere; adding it here first just gets it to bootc sooner, and the sync then finds it already identical. The logic is the pr-signoff reusable workflow in bootc-dev/actions. Other comments only produce a skipped run, without a runner. Generated-by: AI
7e606cd to
c11a46c
Compare
|
Fix round 1 of 2 for Generated-by: https://github.com/cgwalters/#llms |
|
|
The poll stopped following this pull request: fix round 1 is blocked: its run https://github.com/cgwalters-forge/tracker/actions/runs/41225860850 ended (success) and pushed no new head for c11a46c (check package (fedora-44) failed, check package (fedora-46) failed, check package (centos-10) failed, check test-integration failed, check test-upgrade failed, check test-baseconfigs failed, check test-coreos failed, check test-container-export failed, check required-checks-heavy failed, check required-checks failed). It is labelled Generated-by: https://github.com/cgwalters/#llms |
|
Controller decision (Needs you sweep, tracker#1266/bootc-dev#1267): Replace the dependency pin with the landed workflow and validate the App-token path after cancelled CI, keeping upstream posting separately gated on approval of a validated current head. This is within the controller's authority, so the operator hold is cleared and the pass resumes work here. Generated-by: https://github.com/cgwalters/#llms |
|
Fix round 1 of 2 for Generated-by: https://github.com/cgwalters/#llms |
|
The poll stopped following this pull request: fix round 1 is blocked: its run https://github.com/cgwalters-forge/tracker/actions/runs/41904506187 ended (success) and pushed no new head for c11a46c (check package (fedora-44) failed, check package (fedora-46) failed, check package (centos-10) failed, check test-integration failed, check test-upgrade failed, check test-baseconfigs failed, check test-coreos failed, check test-container-export failed, check required-checks-heavy failed, check required-checks failed). It is labelled Generated-by: https://github.com/cgwalters/#llms |
Adds the
/signoffPR command. A maintainer comments/signoff, and theirSigned-off-byis added to all of the PR's commits, which otherwise stay byte for byte the same./rebase-signoffalso moves the commits onto main. DCO is a required check here, so PRs from contributors who forgot to sign off, and all of cgwalters-bot's PRs, stay blocked until someone rewrites them by hand.The file is the org-wide stub from bootc-dev/infra's
common/(cgwalters-forge/infra#8). Adding it here first just gets it to bootc sooner; the sync then finds an identical file. The logic is thepr-signoffreusable workflow in bootc-dev/actions (cgwalters-forge/actions#2), which has the design, the security notes and the test runs.It uses the bootc-bot App, whose credentials (
GH_AW_APP_CLIENT_ID/GH_AW_APP_PRIVATE_KEY) are installed org-wide on bootc-dev, so nothing needs setting up here. The stub pins that workflow by commit, since it hands over the bootc-bot App key. The pin is currently the actions PR's head, and must be bumped to the commit that lands in bootc-dev/actions before merging.It doesn't touch the merge queue: it runs only for
issue_comment, and dco-2 already passesmerge_groupchecks by itself. Like any push, the signoff push removes a queued PR from the queue, so sign off before queueing.actionlint is clean. The same stub was tested on cgwalters-forge/infra (see the actions PR). The App-token path is untested and needs one real run before anyone relies on it.
Related: bootc-dev/infra#260
Generated-by: https://github.com/cgwalters/#llms
Review draft in cgwalters-forge, not upstream yet. This section is removed when the PR is opened upstream.
bootc-dev/bootc, basemainPVTI_lADOE9oHIs4BlJLczg9kERgTo review:
/promoteon a line of its own, to open it upstream, ready for review. Either covers only the commits pushed so far.Signed-off-by: Colin Walters <walters@verbum.org>to the commits lacking it (the bot's and yours; anyone else's only if you ask), with you as committer./draftline (in the same comment or before) to open it upstream as a draft (/readyundoes that).