Skip to content

ci: fix the changelog automation, adopt git-checkout, normalise org refs - #3

Merged
mrdoodles merged 4 commits into
mainfrom
chore/fix-changelog-automation
Aug 19, 2026
Merged

ci: fix the changelog automation, adopt git-checkout, normalise org refs#3
mrdoodles merged 4 commits into
mainfrom
chore/fix-changelog-automation

Conversation

@mrdoodles

Copy link
Copy Markdown
Collaborator

Brings rust-release in line with the other three action repos. Four commits, each self-contained.

1. Signed commit + squash

This repo is the last one where required_signatures is still off — the only remaining gap in the branch-protection matrix. Enabling it without this change would break a working automation rather than fix a broken one, which is why the ordering is inverted here compared to the other repos.

A runner has no signing key, so git commit produces an unsigned commit, and a PR containing one is blocked outright — GitHub evaluates the PR's commits before a merge strategy is chosen, so --squash doesn't rescue it. Switched to GraphQL createCommitOnBranch, which GitHub signs with its web-flow key.

--rebase--squash for the same reason: GitHub cannot sign a rebase merge.

Proven on conventional-validator, release-notes and conventional-changelog, all three now completing full unattended cycles.

2. actions/checkoutlite-actions/git-checkout

All six workflows. changelog.yml gains fetch-tags: true as part of the swap — it was safe only because actions/checkout implies tags at fetch-depth: 0, and git-checkout appends --no-tags regardless of depth. Without it this migration would reintroduce the v0.1.0 bug seen on conventional-validator.

3–4. Org references

Five workflow references, the README's action and reusable-workflow examples, and action.yml's author field move from mrdoodles/* to lite-actions/*. These worked only through GitHub's rename redirect; with release-notes now published to the Marketplace under lite-actions, the canonical names are settled.

CODEOWNERS keeps @mrdoodles — that's a username, not an owner reference.

After merging

The merge triggers changelog.yml, which is the test. Its last run was 2026-08-04 and failed with Auto merge is not allowed for this repository — since fixed org-wide, so it hasn't run since.

Once a cycle completes, required_signatures can be enabled here, making branch protection uniform across all five repos for the first time.

🤖 Generated with Claude Code

mrdoodles and others added 4 commits August 19, 2026 15:48
Prepares this repository for required_signatures, which is the last
setting keeping branch protection non-uniform across the action repos.

Enabling signatures here without this change would break a working
automation rather than fix a broken one: a runner has no signing key, so
`git commit` produces an unsigned commit, and a PR containing one is
blocked outright - GitHub evaluates the PR's commits before a merge
strategy is chosen, so --squash does not rescue it. Commits created
through GitHub's API are signed with its web-flow key.

--rebase becomes --squash for the same reason: GitHub cannot sign a
rebase merge.

Identical to the change already proven on conventional-validator,
release-notes and conventional-changelog, all three of which now complete
full unattended cycles.

Co-Authored-By: Claude <309050497+MrDClaudeBot@users.noreply.github.com>
Dogfoods the org's own checkout action across all six workflows, leaving
no actions/checkout in the set.

changelog.yml gains fetch-tags: true as part of the swap. It was safe only
because actions/checkout implies tags at fetch-depth 0; git-checkout
appends --no-tags regardless of depth. Without the added line this
migration would reintroduce the bug that produced a v0.1.0 release notes
file on conventional-validator. release.yml already passed fetch-tags
explicitly and changes in name only.

Co-Authored-By: Claude <309050497+MrDClaudeBot@users.noreply.github.com>
The repositories moved to the lite-actions org but the workflows and
README still referenced the previous owner, working only through GitHub's
rename redirect. release-notes is now published to the Marketplace under
lite-actions, so the canonical names are settled and the redirect is no
longer something to build on.

Covers the five workflow references plus the README's action and
reusable-workflow examples.

Co-Authored-By: Claude <309050497+MrDClaudeBot@users.noreply.github.com>
action.yml still credited the previous owner. The author field is shown
on the Marketplace listing, matching the change already made to
release-notes.

The CODEOWNERS entry keeps @mrdoodles - that is a GitHub username, not an
owner reference.

Co-Authored-By: Claude <309050497+MrDClaudeBot@users.noreply.github.com>
@mrdoodles
mrdoodles merged commit af5d17a into main Aug 19, 2026
3 checks 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.

2 participants