From 5a8bab262705e062f851eddd4747f0cfd5164d1b Mon Sep 17 00:00:00 2001 From: buguno Date: Wed, 25 Nov 2026 23:32:31 -0300 Subject: [PATCH 1/3] fix(release): dropping the component name from release tags --- release-please-config.json | 1 + 1 file changed, 1 insertion(+) diff --git a/release-please-config.json b/release-please-config.json index 4f770aa..5405a1b 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -5,6 +5,7 @@ "release-type": "python", "package-name": "vault", "include-v-in-tag": true, + "include-component-in-tag": false, "changelog-path": "CHANGELOG.md", "changelog-sections": [ { "type": "feat", "section": "Features" }, From 675e4469f6d2deb459275225a822575a78b00fbe Mon Sep 17 00:00:00 2001 From: buguno Date: Wed, 25 Nov 2026 23:32:37 -0300 Subject: [PATCH 2/3] docs(readme): documenting the automatic deletion of merged branches --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index b8ad5df..d1a87d1 100644 --- a/README.md +++ b/README.md @@ -696,6 +696,8 @@ One setting is needed once: *Settings, Actions, General, Workflow permissions*, - **Changes only arrive through a pull request** (no review is required, since the project has one maintainer). - **A pull request can only be merged after the check `tests / 🧪 Lint and tests` passes** (lint, Tailwind freshness and the test suite). +The repository also has *Automatically delete head branches* turned on (*Settings, General, Pull Requests*): when a pull request is merged, its branch is deleted. That never touches `master`, and the release pull request branch is recreated by release-please when needed. + The release pull request is opened with the built-in token, which GitHub does not test, so `release.yaml` runs `pull-request.yaml` on its branch by hand; that reports the same check. If the check ever has to be renamed (the job name in `tests.yaml` or the caller job in `pull-request.yaml`), update the ruleset too, or every merge stays blocked waiting for it. --- From d40dc56a38bcb1cb54fa1bb6ba2f35a199674c1f Mon Sep 17 00:00:00 2001 From: buguno Date: Wed, 25 Nov 2026 23:32:44 -0300 Subject: [PATCH 3/3] docs(claude): documenting the automatic deletion of merged branches --- CLAUDE.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CLAUDE.md b/CLAUDE.md index 88a90c5..2a3199c 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -313,7 +313,8 @@ Tailwind) live in the `env:` block of `tests.yaml`. No GitHub `secrets` are used only credential is the built-in `GITHUB_TOKEN`; add real secrets only to a protected Environment. `master` is protected by a ruleset ("master protection", no bypass): no deletion, no force push, merge only through a PR whose check `tests / 🧪 Lint and tests` passed. That name is ` / ` (`tests` in `pull-request.yaml` + the job name in `tests.yaml`): rename either and the ruleset must follow. `release.yaml` dispatches -`pull-request.yaml` on the release branch, because PRs opened with `GITHUB_TOKEN` get no `pull_request` runs. Never push to +`pull-request.yaml` on the release branch, because PRs opened with `GITHUB_TOKEN` get no `pull_request` runs. Merged PR branches are deleted +automatically (repo setting `delete_branch_on_merge`). Never push to `master` directly. Keep `DOCKER.md` (the registry-style page) in sync with the Dockerfile and the env vars. Use plain literal env values for CI (never production credentials). `DATABASE_URL` only needs to be a syntactically valid URL there, since Testcontainers provides the real database.