Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 `<caller job id> / <job name>` (`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.
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

---
Expand Down
1 change: 1 addition & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -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" },
Expand Down