Commit Graph
3 Commits
Author SHA1 Message Date
Hector Ventura e811f2383d ci: limit contributors to 2 open pull requests
Call the shared floci-io/.github pr-limit workflow on opened, reopened and
ready_for_review, and on closed and converted_to_draft to clear stale
labels. Runs for the same pull request queue rather than cancel, and manual runs use their own concurrency group. Contributors
keep at most 2 open, non-draft pull requests: the 3rd and 4th get the
over-pr-limit label and a reminder, and from 2026-10-08 the 5th and later
are closed automatically. Bots and maintainers are exempt.

CONTRIBUTING.md and the pull request template describe the policy.

Signed-off-by: Hector Ventura <hectorvent@gmail.com>
2026-10-01 17:34:33 -05:00
Hector Ventura 3159a653b4 docs: stop telling contributors to hand-edit CHANGELOG.md (#24)
* docs: stop telling contributors to hand-edit CHANGELOG.md

AGENTS.md and the PR template both asked for an entry under [Unreleased],
which changelog-guard.yml hard-fails and CONTRIBUTING.md forbids. Both lines
predate the semantic-release cutover in #20.

AGENTS.md now states the generated-file rule and points at the changelog-edit
escape hatch; the template drops the checkbox and says on the Conventional
Commits line why no hand edit is needed.

* docs: say which commit types actually produce a changelog entry

The previous wording claimed every Conventional Commit message is the changelog
entry. The commit gate accepts eleven types, but .releaserc.json runs
commit-analyzer with no releaseRules and no preset, so only feat, fix, perf and
breaking changes release. Two commits landed between 0.2.1 and 0.2.2, a fix and
a docs, and only the fix appears in the 0.2.2 section.

Corrected in all four places the claim lived: AGENTS.md, the PR template,
CONTRIBUTING.md, and the changelogTitle in .releaserc.json.

CHANGELOG.md changes with .releaserc.json on purpose and must stay byte
identical to it. @semantic-release/changelog strips the configured title from
the existing file only when the file starts with it, so changing one without
the other would leave the old header in the body and prepend the new one,
shipping a duplicated header on the next release. That is what the
changelog-edit label exists for.

Reported by Greptile on #24 and verified before acting.

* docs(ci): correct the same changelog claim in the guard's own error message

My first pass grepped only *.md and *.json, so it missed the two copies inside
changelog-guard.yml: the header comment and the ::error:: text a contributor
actually sees when the guard fires. A repo-wide grep now returns nothing.
2026-09-13 19:54:49 -05:00
Hector Ventura a2f97ae820 docs: add AGENTS.md, CONTRIBUTING.md, PR template; document GCP and self-update (#14)
* docs: add AGENTS.md, CONTRIBUTING.md, PR template; document GCP and self-update

- AGENTS.md (tracked): canonical agent guidance — architecture incl. the
  three product trees table, doctor check structure per tree, native-image
  constraints, code style rules, updated scope rules (self-update now in
  scope, must never auto-run)
- CONTRIBUTING.md: build/test setup, Conventional Commits, hand-maintained
  Keep-a-Changelog policy, PR guidelines, tag-driven release process
- .github/pull_request_template.md: adapted from the server repo with a
  'product trees affected' checklist
- README: document the floci gcp command group (quick start, command
  reference, global flags, gcp env variables, CI usage), floci update,
  Java 25+ fat-JAR requirement; drop the unwired snapshot --message flag
  from examples
- CHANGELOG: backfill [Unreleased] with #12 (self-update) and #11
  (ContainerInfo field alignment); document these docs changes
- release.yml: release notes said the fat JAR needs Java 21+, but it is
  built with --release 25 — corrected to Java 25+

* docs(changelog): use standard Keep a Changelog headings for Unreleased

The Documentation section is not one of the six types defined by Keep a
Changelog 1.1.0. New docs (AGENTS.md, CONTRIBUTING.md, README GCP section)
move under Added; the incorrect Java 21+ runtime claim moves under Fixed.
2026-07-06 20:15:32 -05:00