Repository navigation
feat: Kopexa Operator token and shared release-please action - #14
Merged
Merged
Conversation
Add the github/app-token composite action, which mints a short-lived installation token of the Kopexa Operator GitHub App. nextjs-delivery uses it for Release Please, so release PRs trigger required checks. nextjs-image uses it for the envs dispatch, scoped to Actions write on kopexa-grc/envs. Both fall back to RELEASE_PLEASE_TOKEN and GITOPS_TOKEN while callers do not pass KOPEXA_OPERATOR_PRIVATE_KEY.
Drop-in replacement for the googleapis/release-please-action step. It mints a Kopexa Operator token when client-id and private-key are given and falls back to GITHUB_TOKEN otherwise. All upstream outputs are passed through, per-path monorepo outputs via outputs-json. This repository's own release workflow uses it, which replaces the manual workflow-lint dispatch for release PRs.
juliankoehn
pushed a commit
that referenced
this pull request
Nov 18, 2026
🤖 I have created a release *beep* *boop* --- ## [0.0.6](v0.0.5...v0.0.6) (2026-11-18) ### Features * Kopexa Operator token and shared release-please action ([#14](#14)) ([81c3f35](81c3f35)) ### Bug Fixes * complete image smoke checks before deployment dispatch ([#12](#12)) ([2a01110](2a01110)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: kopexaoperator[bot] <358221093+kopexaoperator[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
github/app-token: mints a one-hour installation token of the Kopexa Operator GitHub App (kopexaoperator[bot]), scoped to the requested repositories and permissions, and returns the bot's git identity.nextjs-delivery.yml: Release Please uses a Kopexa Operator token (Contents, Pull requests, Issues write on the calling repo). Release PRs opened with it trigger the required PR checks, unlikeGITHUB_TOKEN.nextjs-image.yml: the envs dispatch uses a Kopexa Operator token limited to Actions write onkopexa-grc/envs.KOPEXA_OPERATOR_PRIVATE_KEYboth workflows keep usingRELEASE_PLEASE_TOKEN/GITOPS_TOKEN. Those are now marked deprecated.github/release-please: drop-in for thegoogleapis/release-please-actionstep, with a Kopexa Operator token and aGITHUB_TOKENfallback. All outputs pass through (per-path monorepo outputs viaoutputs-json), so steps after it in the same job keep working.release-please.ymlnow uses it, which replaces the manualworkflow-lint.ymldispatch for release PRs. The release PR after this merge is the first live test.README.md,docs/nextjs.md, workflow docs, action README).Configuration (already in place)
KOPEXA_OPERATOR_CLIENT_ID, visibility allKOPEXA_OPERATOR_PRIVATE_KEY, visibility allCallers opt in by passing
KOPEXA_OPERATOR_PRIVATE_KEY(explicitly or withsecrets: inherit) and pinning the new release.Test plan
kopexaoperator[bot]and triggersactionlintby itselfhello: release PR triggers checks by itself, envs dispatch succeeds