Skip to content

Commit f4f372f

Browse files
sirtimidclaude
andcommitted
fix(pr-skill): add no-changelog label step for non-consumer changes
When a PR has no consumer-facing changes, the skill now adds the `no-changelog` label instead of silently skipping. This prevents CI changelog validation failures. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent f4ce695 commit f4f372f

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.claude/skills/pr/SKILL.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,10 @@ Otherwise, after all launched subagents complete:
123123

124124
## Phase 5: Update changelogs
125125

126-
**MANDATORY — DO NOT SKIP.** Each PR must update changelogs for all packages with consumer-facing changes.
126+
**MANDATORY — DO NOT SKIP.** Analyze the diff and determine whether any changes are consumer-facing (i.e., affect the behavior or API of a published or private package).
127+
128+
- **If there are NO consumer-facing changes** (e.g., docs-only, CI, tooling, skill definitions, dev scripts): add the `no-changelog` label to the PR via `gh pr edit <number> --add-label no-changelog` and skip the rest of this phase.
129+
- **If there ARE consumer-facing changes**: update changelogs as described below.
127130

128131
Read the instructions in [`docs/contributing/updating-changelogs.md`](../../../docs/contributing/updating-changelogs.md) and follow them **to the letter**. In particular:
129132

0 commit comments

Comments
 (0)