Skip to content

Use GitHub App token for release tags - #99

Closed
dceoy wants to merge 1 commit into
mainfrom
agent/use-app-token-for-release-tag
Closed

Use GitHub App token for release tags#99
dceoy wants to merge 1 commit into
mainfrom
agent/use-app-token-for-release-tag

Conversation

@dceoy

@dceoy dceoy commented Aug 17, 2026

Copy link
Copy Markdown
Owner

Summary

  • pass GH_APP_CLIENT_ID as the reusable workflow's app-client-id
  • pass GH_APP_PRIVATE_KEY to the major-version-tag workflow
  • retain the existing GH_TOKEN fallback

Root cause

The post-release workflow currently uses an Actions token to move the floating v0 tag. Updating v0 to v0.6.6 fails with Resource not accessible by integration (HTTP 403) because the target history includes workflow changes.

This opts opencode-action into the GitHub App token path added by dceoy/gha-for-devops#931.

Required repository configuration

  • variable GH_APP_CLIENT_ID
  • secret GH_APP_PRIVATE_KEY
  • GitHub App installed on dceoy/opencode-action with Contents: read/write and Workflows: read/write

Validation

  • one workflow file changed
  • three lines added to the existing reusable workflow call
  • no release-pin behavior is changed

@dceoy dceoy closed this Aug 17, 2026
@dceoy
dceoy deleted the agent/use-app-token-for-release-tag branch August 18, 2026 16:23
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