Repository navigation
ci: shared labels, board sync and pr conventions for every repository - #11
Merged
Merged
Conversation
One reusable workflow, org-conventions.yml, that every repository calls through a short conventions.yml. It checks pull requests (Conventional Commits title, one type label, a linked issue), assigns the author, adds the type label and milestone, applies area labels from each repository's labeler.yml, handles /take and /drop, rolls closed sub-issues up to their epic, and syncs the organisation board when a PROJECTS_TOKEN is present. Issue forms for bug, story, task, spike and epic; CONTRIBUTING and docs/project-board.md describe labels, milestones, epics, the board and merging.
This was referenced Nov 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #9
What and why
Every repository in the organisation now shares one set of labels, milestones, epics and one board, but nothing checked pull requests and nothing kept the board current. This puts the machinery here, once, and every repository calls it with a short
conventions.yml.org-conventions.yml(reusable), dispatching on the caller's event:type:*labels. It also assigns the author to the PR and to the issues it closes, adds thetype:*label the title implies, copies the milestone from the issue, and appliesarea:*from the caller's.github/labeler.yml./takeand/dropon issues.ready-for-acceptanceon an epic once its children close. A daily sweep here covers epics whose children live in other repositories, since a repository's token can only write to itself.PROJECTS_TOKENsecret; otherwise it prints a notice and skips.scripts/conventions/, adapted from THD Room Finder, with unit tests run by the newChecksworkflow.type:*+needs-triage. The PR template explains linking and stacks.CONTRIBUTING.md: sections on issues, labels and the board, linking in pull requests, and merging.docs/project-board.md: the views, fields and automation.workflow-templates/conventions.yml: the caller, offered in every repository's Actions tab.Under
pull_request_targetnothing from the pull request's head is checked out: the caller's default branch and this repository'smainonly.Already applied outside this diff
Merge order
This first. The callers in kaffeelisten/kaffeelisten, kaffeelisten.github.io, the two private repositories reference
org-conventions.yml@main, so they fail until this lands.How it was verified
node --test scripts/conventions/conventions.test.cjs: 7 groups passactionlinton every workflow: clean