Skip to content

Have CI check that the changelog line ends with the pull request's number - #4

Merged
klind merged 1 commit into
mainfrom
ci-changelog-number
Oct 7, 2026
Merged

klind merged 1 commit into
mainfrom
ci-changelog-number

Conversation

@klind

@klind klind commented Oct 7, 2026

Copy link
Copy Markdown
Owner

The changelog step now fails unless the pull request adds a line to CHANGELOG.md that ends with its own number, such as (#4).

The number does not exist before the pull request is opened, so a pull request from AgentsAtWork is red on its first CI run. That is on purpose: it gives the pipeline's CI fix a real red required check to repair. The failed step's log names the number to add.

The rule is stated only in the CI step, not in the changelog's opening lines, so an agent does not try to guess the number ahead of time.

@klind
klind merged commit e3fedfb into main Oct 7, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant