Skip to content

Commit 1223917

Browse files
Use GitHub labels for PR categorization in release task
Agent-Logs-Url: https://github.com/304NotModified/SLNX-validator/sessions/5713e542-8964-4247-8102-419eef1e99d8 Co-authored-by: 304NotModified <5808377+304NotModified@users.noreply.github.com>
1 parent b75db2e commit 1223917

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

.github/release-task.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,14 @@ or shorthand:
3030

3131
**Ignore entirely** (do not include in the changelog):
3232
- PRs authored by `dependabot[bot]`
33-
- PRs whose title starts with `docs:`
33+
- PRs with label `documentation` or whose title starts with `docs:`
34+
- PRs with label `dependencies`
3435
- PRs whose title contains `Bump version` or `release notes`
3536

36-
**Categorize the remaining PRs:**
37-
- **New features** (`feat:` prefix): list as a main bullet with a short description
38-
- **Bug fixes** (`fix:` prefix): list as a main bullet with a short description
39-
- **Refactoring / chore** (`chore:`, `refactor:`, or titles containing `Move`, `Rename`, `Replace public API`): list briefly at the bottom in a separate section `🔧 Internal improvements` with PR links only
37+
**Categorize the remaining PRs** (check both the PR title prefix **and** the GitHub label):
38+
- **New features** `feat:` title prefix OR label `enhancement`: list as a main bullet with a short description
39+
- **Bug fixes** `fix:` title prefix OR label `bug`: list as a main bullet with a short description
40+
- **Internal improvements** `chore:`/`refactor:` title prefix, label `refactoring`, label `build`, or titles containing `Move`, `Rename`, `Replace public API`: list briefly at the bottom in a separate section `🔧 Internal improvements` with PR links only
4041

4142
### 3. Generate the short changelog (for `<PackageReleaseNotes>` in the csproj)
4243

0 commit comments

Comments
 (0)