Skip to content

Tag the action automatically when it changes - #5

Merged
mattrobenolt merged 1 commit into
mainfrom
ci/auto-tag
Nov 10, 2026
Merged

mattrobenolt merged 1 commit into
mainfrom
ci/auto-tag

Conversation

@mattrobenolt

Copy link
Copy Markdown
Member

Consumers pin the action by SHA with the version in a comment, and pinact --verify checks that they agree. Without a tag there is nothing to verify against, and neither pinact nor Renovate can move a pin.

Cuts the next v0.1.<n> on every push to main that touches .github/actions/, and skips commits that are already tagged so a re-run cannot stack tags. Other commits get no tag, since consumers never reference anything else.

Consumers pin the action by SHA with the version in a comment, and pinact
verifies the two agree. Without a tag there is nothing to verify against, and
neither pinact nor Renovate can move the pin.

Cut the next v0.1.<n> on every push to main that touches .github/actions/.
Other commits get no tag, since consumers never reference anything else.
@mattrobenolt
mattrobenolt merged commit 4630da1 into main Nov 10, 2026
2 checks passed
@mattrobenolt
mattrobenolt deleted the ci/auto-tag branch November 10, 2026 00:42
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