Skip to content

ci: reject pull request titles the changelog would drop - #115

Merged
jdhughes-dev merged 1 commit into
MODFLOW-ORG:developfrom
jdhughes-dev:ci-guard-release-process
Sep 6, 2026
Merged

ci: reject pull request titles the changelog would drop#115
jdhughes-dev merged 1 commit into
MODFLOW-ORG:developfrom
jdhughes-dev:ci-guard-release-process

Conversation

@jdhughes-dev

Copy link
Copy Markdown
Contributor

Two things that broke quietly during the 1.0.0 release.

  • Pull requests are squash merged, so the title becomes the commit message the release notes are generated from, and git-cliff drops anything that is not a conventional commit header without saying so. support logger_level init parameter (#92) was missing from the 1.0.0 notes for this reason; 63 commits were skipped in that release. Titles are now checked, except on the release and reset pull requests, which a bot opens.
  • The publishing guide records that PyPI matches a trusted publisher on the organisation, repository, workflow and environment names. Renaming the organisation invalidated the publisher and nothing reported it until 1.0.0 failed to upload, eighteen months later.

The check cannot tell whether the type is the right one: a user facing change titled chore: still passes and is still dropped. The guide says to read the generated changelog on the release pull request before merging.

Pull requests are squash merged, so the title becomes the commit message
the release notes are generated from, and git-cliff drops anything that is
not a conventional commit header without saying so. The logger_level
parameter was added by such a commit and was missing from the 1.0.0 notes;
63 commits were skipped in that release. Titles are now checked, except on
the release and reset pull requests, which a bot opens and which are not
squash merged.

The publishing guide records that PyPI matches a trusted publisher on the
organisation, repository, workflow and environment names, since renaming
the organisation invalidated the publisher and nothing reported it until
the 1.0.0 release failed to upload.
@jdhughes-dev
jdhughes-dev merged commit ccee8c5 into MODFLOW-ORG:develop Sep 6, 2026
35 checks passed
wpbonelli added a commit to wpbonelli/modflow-devtools that referenced this pull request Sep 8, 2026
Pull requests are squash merged, so the title becomes the commit message
the release notes are generated from, and git-cliff drops anything that is
not a conventional commit header without saying so. The title check runs
on every pull request except the release and reset ones, which a bot opens
and which are not squash merged.

Ports MODFLOW-ORG/modflowapi#115.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GAtFFGBtJSR8f1bY2VNEZT
wpbonelli added a commit to wpbonelli/flopy that referenced this pull request Sep 8, 2026
Development pull requests are squash merged, so the title becomes the
commit message the release notes are generated from, and git-cliff drops
anything that is not a conventional commit header without saying so. The
title check runs on every pull request except the bot-opened release and
reset ones, which are not squash merged.

Ports MODFLOW-ORG/modflowapi#115.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GAtFFGBtJSR8f1bY2VNEZT
wpbonelli added a commit to wpbonelli/flopy that referenced this pull request Sep 8, 2026
Development pull requests are squash merged, so the title becomes the
commit message the release notes are generated from, and git-cliff drops
anything that is not a conventional commit header without saying so. The
title check runs on every pull request except the bot-opened release and
reset ones, which are not squash merged.

Ports MODFLOW-ORG/modflowapi#115.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GAtFFGBtJSR8f1bY2VNEZT
(cherry picked from commit b63d26b)
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