Skip to content

Commit ad38d77

Browse files
baijumclaude
andcommitted
refactor: move labels.json to scripts/ and remove templates/
Governance template files (CODEOWNERS, PR template, commit convention) now live in app-template as the canonical source. Move labels.json into scripts/ alongside setup-repo.sh and update all references. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 9bf9d97 commit ad38d77

7 files changed

Lines changed: 5 additions & 71 deletions

File tree

AGENTS.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ docs/ # All documentation (Markdown)
1919
roadmap.md # Phased development plan
2020
scripts/
2121
setup-repo.sh # GitHub repo governance setup script
22-
templates/
23-
.github/ # Template files for app repos (PR template, CODEOWNERS, etc.)
22+
labels.json # Standard labels for app repos (used by setup-repo.sh)
2423
mkdocs.yml # MkDocs Material site configuration
2524
.github/workflows/
2625
docs.yml # GitHub Pages deployment workflow

docs/governance.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Every application repository must include a `.github/CODEOWNERS` file. At minimu
6565
* @towlion/maintainers
6666
```
6767

68-
See the [template CODEOWNERS](../templates/.github/CODEOWNERS) for the canonical version.
68+
See the [app-template CODEOWNERS](https://github.com/towlion/app-template/blob/main/.github/CODEOWNERS) for the canonical version.
6969

7070
## PR Template
7171

@@ -76,11 +76,11 @@ Every application repository must include a `.github/PULL_REQUEST_TEMPLATE.md` w
7676
- **Testing** — How the changes were tested
7777
- **Checklist** — Standard checklist items
7878

79-
See the [template PR template](../templates/.github/PULL_REQUEST_TEMPLATE.md) for the canonical version.
79+
See the [app-template PR template](https://github.com/towlion/app-template/blob/main/.github/PULL_REQUEST_TEMPLATE.md) for the canonical version.
8080

8181
## Required Labels
8282

83-
All application repositories must have the following labels. The setup script creates these automatically from [`templates/.github/labels.json`](../templates/.github/labels.json).
83+
All application repositories must have the following labels. The setup script creates these automatically from [`scripts/labels.json`](../scripts/labels.json).
8484

8585
| Label | Color | Description |
8686
|-------|-------|-------------|

scripts/setup-repo.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ set -euo pipefail
33

44
ORG="towlion"
55
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
6-
LABELS_FILE="$SCRIPT_DIR/../templates/.github/labels.json"
6+
LABELS_FILE="$SCRIPT_DIR/labels.json"
77

88
# Colors
99
GREEN='\033[0;32m'

templates/.github/CODEOWNERS

Lines changed: 0 additions & 6 deletions
This file was deleted.

templates/.github/COMMIT_CONVENTION.md

Lines changed: 0 additions & 37 deletions
This file was deleted.

templates/.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)