Skip to content

feat: support GitHub App token for triggering downstream workflows#3

Merged
cwaits6 merged 1 commit intomainfrom
feat/app-token-support
Mar 18, 2026
Merged

feat: support GitHub App token for triggering downstream workflows#3
cwaits6 merged 1 commit intomainfrom
feat/app-token-support

Conversation

@cwaits6
Copy link
Owner

@cwaits6 cwaits6 commented Mar 18, 2026

Summary

  • Adds optional APP_ID and APP_PRIVATE_KEY secrets to the release workflow
  • When provided, generates a GitHub App token for semantic-release so tag pushes trigger downstream workflows (e.g. container builds)
  • Falls back to GITHUB_TOKEN when secrets are not provided — no change for existing consumers

Test plan

  • Merge this, then merge the corresponding apk-datasource PR that passes the secrets
  • Verify a new release in apk-datasource triggers the Container Build workflow
  • Verify repos that don't pass the secrets still release normally with GITHUB_TOKEN

The secrets context cannot be referenced directly in step if
conditions. Check via environment variables instead.
@cwaits6 cwaits6 force-pushed the feat/app-token-support branch from 05e020b to 8496789 Compare March 18, 2026 03:47
@cwaits6 cwaits6 merged commit 2f46251 into main Mar 18, 2026
@cwaits6 cwaits6 deleted the feat/app-token-support branch March 18, 2026 03:49
@github-actions
Copy link

🎉 This PR is included in version 1.3.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant