Skip to content

Commit 369d55b

Browse files
committed
chore: move all changelogs to changelogs/ directory
- Created changelogs/ directory and moved 37 CHANGELOG files - Updated require-changelog.yml to check changelogs/ path - Updated agent commit workflow to use changelogs/ path
1 parent e1d0133 commit 369d55b

40 files changed

Lines changed: 23 additions & 5 deletions

.agent/workflows/commit.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ When committing code changes, **always** include a changelog file that documents
88

99
## Steps
1010

11-
1. Create or update a `CHANGELOG-<topic>.md` file in the repo root that summarizes all changes in plain text:
11+
1. Create or update a `changelogs/CHANGELOG-<topic>.md` file that summarizes all changes in plain text:
1212
- What was changed and why
1313
- Which files were modified/added/deleted
1414
- Any measurable impact (e.g., bundle size, performance)
1515

1616
2. Stage all modified files **plus** the changelog file:
1717
```bash
18-
git add <changed-files> CHANGELOG-<topic>.md
18+
git add <changed-files> changelogs/CHANGELOG-<topic>.md
1919
```
2020

2121
3. Commit with a descriptive message:
@@ -31,7 +31,8 @@ When committing code changes, **always** include a changelog file that documents
3131

3232
## Rules
3333

34-
- **MANDATORY: Never commit code without an accompanying CHANGELOG-<topic>.md file.** The GitHub Actions workflow `require-changelog.yml` will reject any push that contains code changes without a changelog. There are NO exceptions.
34+
- **MANDATORY: Never commit code without an accompanying `changelogs/CHANGELOG-<topic>.md` file.** The GitHub Actions workflow `require-changelog.yml` will reject any push that contains code changes without a changelog. There are NO exceptions.
35+
- **All changelogs MUST be placed in the `changelogs/` directory.** Do not create changelog files in the repo root.
3536
- **NEVER use `--no-verify` flag.** This bypasses pre-commit hooks and must not be used under any circumstances.
3637
- **NEVER make empty commits** (e.g., `--allow-empty`). Every commit must contain meaningful changes.
3738
- The changelog should be human-readable markdown

.github/workflows/require-changelog.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ jobs:
3434
exit 0
3535
fi
3636
37-
# Check for CHANGELOG file
38-
CHANGELOG=$(echo "$FILES" | grep -E '^CHANGELOG-.*\.md$' || true)
37+
# Check for CHANGELOG file in changelogs/ directory
38+
CHANGELOG=$(echo "$FILES" | grep -E '^changelogs/CHANGELOG-.*\.md$' || true)
3939
4040
if [ -z "$CHANGELOG" ]; then
4141
echo ""
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)