@@ -62,8 +62,6 @@ manage project configuration and commands
6262* ` just prek ` - run pre-commit hooks via prek
6363* ` just git-leaks ` - scan staged changes for secrets with gitleaks
6464* ` just zizmor ` - audit GitHub Actions workflows for security issues
65- * ` just set-github-labels ` - remove GitHub's non-release default labels, then create or update the release labels
66- (for fresh repos, requires ` gh auth login ` )
6765* ` uv add {package} ` - install a dependency
6866
6967## CI and Security
@@ -72,37 +70,8 @@ manage project configuration and commands
7270| --------------------- | ----------------------- | -------------------------------------------- |
7371| ` python.yml ` | push / PR to ` main ` | lint, unit tests, docs build, markdownlint |
7472| ` security.yml ` | push to ` main ` , all PRs | zizmor, gitleaks, pip-audit dependency audit |
75- | ` release-drafter.yml ` | push to ` main ` , PRs | update the draft release, label PRs |
76- | ` release.yml ` | manual | publish a release |
7773
7874* GitHub Actions are pinned to full commit SHAs, with the version in a trailing comment
7975* Dependabot (` .github/dependabot.yml ` ) checks monthly for updates to GitHub Actions, Python
8076 dependencies, the dev container image, and dev container features. New releases wait 7 days
8177 before an update is proposed. Dependabot PRs get the ` dependencies ` label
82-
83- ## Releases
84-
85- Releases are managed with [ Release Drafter] ( https://github.com/release-drafter/release-drafter ) ,
86- which reads the ** release labels** on merged pull requests.
87-
88- A release label is a GitHub label added to the pull request itself, from the ** Labels** section
89- of the PR sidebar. Release Drafter only reads these labels. Commit messages and PR titles are not
90- parsed, so prefixes like ` feat: ` or ` fix: ` have no effect. Only the labels below count as release
91- labels; any other repository labels you add are ignored.
92-
93- | Release label | Version bump | Release notes section |
94- | ----------------------------------------------------------------- | ------------ | --------------------- |
95- | ` breaking ` | major | Breaking Changes |
96- | ` feature ` , ` enhancement ` | minor | Features |
97- | ` bug ` , ` fix ` | patch | Bug Fixes |
98- | ` chore ` , ` ci ` , ` dependencies ` , ` documentation ` , ` refactor ` | patch | Maintenance |
99- | ` skip-changelog ` | none | Excluded |
100-
101- * Every PR must have at least one release label, or the ` Release Drafter / require-label ` check fails. If a release
102- has PRs with different labels, the largest bump wins
103- * Release labels are added automatically from the PR's branch name prefix (` feat/ ` , ` fix/ ` , ` chore/ ` ,
104- ` ci/ ` , ` docs/ ` , ` refactor/ ` ) and from the files it changes. You can add or change them by hand
105- * Run ` just set-github-labels ` once to create the release labels in the GitHub repository
106- * Merging to ` main ` updates a draft GitHub Release with the next version and notes
107- * To release, run the ** Release** workflow from the Actions tab. It bumps the version in
108- ` pyproject.toml ` /` uv.lock ` , tags the release, and uploads build artifacts. Release notes live on the GitHub Release
0 commit comments