feat(forgejo-cli): add release skill #17

Merged
jerome merged 1 commit from feat/release-skill into main 2026-07-01 08:50:20 +03:00
Collaborator

Summary

Adds a release skill to the forgejo-cli plugin, for repos using a
develop-accumulates / main-is-released branching model.

  • scripts/release_notes.py -- walks origin/main..origin/develop, pulls the
    PR number out of each squash-merge commit subject ((#N)), fetches each
    PR's title/author/labels from the REST API, and groups them into a recap
    (feat/fix/perf/refactor/docs/test/chore/other). Commits with
    no PR reference are flagged in their own section rather than dropped.
  • SKILL.md -- runs the script, sanity-checks the recap, then opens the
    develop -> main PR via forgejo-cli's fj_write.py pr-create with the
    recap as the body. Stops there; merging is left to a human.

Test plan

  • python3 -m py_compile on the new script
  • --help output sane
  • Run against a real develop/main repo and confirm the recap + PR look right
## Summary Adds a `release` skill to the `forgejo-cli` plugin, for repos using a develop-accumulates / main-is-released branching model. - `scripts/release_notes.py` -- walks `origin/main..origin/develop`, pulls the PR number out of each squash-merge commit subject (`(#N)`), fetches each PR's title/author/labels from the REST API, and groups them into a recap (`feat`/`fix`/`perf`/`refactor`/`docs`/`test`/`chore`/`other`). Commits with no PR reference are flagged in their own section rather than dropped. - `SKILL.md` -- runs the script, sanity-checks the recap, then opens the `develop -> main` PR via `forgejo-cli`'s `fj_write.py pr-create` with the recap as the body. Stops there; merging is left to a human. ## Test plan - [x] `python3 -m py_compile` on the new script - [x] `--help` output sane - [ ] Run against a real develop/main repo and confirm the recap + PR look right
feat(forgejo-cli): add release skill for develop->main PRs
All checks were successful
gitleaks / gitleaks (pull_request) Successful in 3s
74a4a96914
Adds a release_notes.py script that walks origin/main..origin/develop,
groups merged PRs by type label, and a SKILL.md that uses it plus
fj_write.py pr-create to open the release PR with the recap as body.
jerome approved these changes 2026-07-01 08:50:00 +03:00
jerome merged commit 263a7bfda5 into main 2026-07-01 08:50:20 +03:00
jerome deleted branch feat/release-skill 2026-07-01 08:50:20 +03:00
Sign in to join this conversation.
No reviewers
No milestone
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
public/chiche-plugins!17
No description provided.