Skip to content

ci: push release tags with the release app token - #85

Merged
tylerbutler merged 1 commit into
mainfrom
ci/auto-tag-app-token
Jul 28, 2026
Merged

ci: push release tags with the release app token#85
tylerbutler merged 1 commit into
mainfrom
ci/auto-tag-app-token

Conversation

@tylerbutler

@tylerbutler tylerbutler commented Jul 28, 2026

Copy link
Copy Markdown
Owner

Summary

v1.0.1 was tagged by auto-tag.yml but never published to Hex — hex.pm still shows 1.0.0 as latest. Tags pushed with the default GITHUB_TOKEN do not trigger other workflows, so the tag push never fired publish.yml.

(v1.0.0 published only because that tag was pushed manually — auto-tag was creating unprefixed 1.0.0 tags at the time, fixed later in #71.)

Changes

  • Bump all three tylerbutler/actions pins from c697a81 (2026-02-17) to ed7d5e5 (2026-07-07). The old pin predates optional app-token support, added upstream in feat(auto-tag): support GitHub App tokens via optional secrets actions#8 on 2026-03-01.
  • Pass RELEASE_APP_ID / RELEASE_APP_PRIVATE_KEY to the auto-tag reusable workflow. It generates an app token, checks out with it, and passes it to changie-auto-tag — so the tag push is authenticated as the app and triggers publish.yml.
  • Add actions: read to the caller's permissions. The reusable workflow declares it, and a called workflow cannot hold permissions the caller did not grant.

release.yml and pr.yml are pin bumps only — verified input/output compatible with ed7d5e5 (changie-check: base-sha/head-shahas-entries/preview/needs-entry/commit-types-found; changie-release: token/pr-title-template/version-filesskipped/version/pr-url/pr-operation).

Tags pushed with the default GITHUB_TOKEN do not trigger other
workflows, so the v1.0.1 tag created by auto-tag never fired
publish.yml and 1.0.1 was never published to Hex.

Bump the tylerbutler/actions pins from c697a81 to ed7d5e5 and pass
RELEASE_APP_ID / RELEASE_APP_PRIVATE_KEY to the auto-tag reusable
workflow, which gained optional app-token secrets after the old pin.
The workflow declares actions: read, so the caller must grant it too.
@netlify

netlify Bot commented Jul 28, 2026

Copy link
Copy Markdown

Deploy Preview for slate-dets canceled.

Name Link
🔨 Latest commit e340389
🔍 Latest deploy log https://app.netlify.com/projects/slate-dets/deploys/6a67f1baaea28100085f5eff

@tylerbutler
tylerbutler merged commit dbb16bd into main Jul 28, 2026
10 checks passed
@tylerbutler
tylerbutler deleted the ci/auto-tag-app-token branch July 28, 2026 00:35
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