Skip to content

Fix: authenticate the template update as the release app - #102

Merged
SandObserver merged 1 commit into
mainfrom
fix/ca-template-app-token
Aug 17, 2026
Merged

SandObserver merged 1 commit into
mainfrom
fix/ca-template-app-token

Conversation

@SandObserver

Copy link
Copy Markdown
Owner

Summary

  • Authenticate ca-template-changes.yml as the release app instead of GITHUB_TOKEN, so the template pull request it opens starts its checks.
  • Drop that workflow's contents: write and pull-requests: write to permissions: {}, and remove the matching entry from the workflow permission allow-list.
  • Extend the release automation tests to cover the template workflow's token and permissions.
  • Document creating the release GitHub App in docs/releasing.md: permissions, private key, installation, and the two secret names.

Testing
All green. Extended 2 existing tests to the template workflow.

Checklist

  • Stays within the project constraints: one container, no runtime dependencies, no build step (see CONTRIBUTING.md).
  • Tests added or updated for new logic, and the full suite, lint, and typechecks pass.
  • Docs updated if behavior or configuration changed.
  • CHANGELOG.md updated under Unreleased if the change is user-visible.

The workflow opened its pull request with GITHUB_TOKEN, which starts no checks,
so the pull request could only be merged by bypassing the ruleset.

Document creating the app the release now depends on.
@SandObserver SandObserver added documentation Improvements or additions to documentation github_actions Pull requests that update GitHub Actions code labels Aug 17, 2026
@SandObserver
SandObserver merged commit 93fadf6 into main Aug 17, 2026
4 checks passed
@SandObserver
SandObserver deleted the fix/ca-template-app-token branch August 17, 2026 01:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant