Skip to content

fix(release): restore governed Release Please tag identity #63

Description

@robinbraemer

Why

The normal CLI release path is blocked after chore(main): release 0.11.0 (#49) merged. The release must continue through Release Please and the existing immutable-artifact workflow; it must not be recovered by a manual tag or release.

Exact evidence

  • Repository tag ruleset 22528085, Tags via sync identity only, is active for every tag and blocks creation, updates, and deletion. Its sole bypass is RepositoryRole ID 5 (admin).
  • RELEASE_PLEASE_TOKEN is absent from akua-dev/cli, so .github/workflows/release-please.yml correctly falls back to github.token.
  • Post-merge Release Please run 34835153882 reached release creation but failed with pre_receive Repository rule violations found: Cannot create ref due to creations being restricted.
  • Adding generic GitHub Actions (integration ID 15368) as a ruleset bypass was rejected by GitHub with HTTP 422: integrations must belong to the ruleset source or owner organization. No ruleset change was made.
  • The runner outage is separately fixed by fix(ci): restore runnable CLI release automation #62: hosted release jobs ran successfully, and chore(main): release 0.11.0 #49 CI was fully green before merge.

Acceptance criteria

  • Provision or select a narrow, organization-owned GitHub App that is installed on akua-dev/cli and has only the release identity permissions needed to create the release tag/Release Please release.
  • Add that exact App integration, not a generic Actions bypass and not a human role, as the bypass actor for tag ruleset 22528085.
  • Make the App installation token available to the existing RELEASE_PLEASE_TOKEN input through the approved secret-management path; keep credentials out of source, logs, and workloads.
  • Keep the fallback to github.token for repositories/environments that do not use the governed tag ruleset.
  • Re-run the normal main-push Release Please path for the already-merged 0.11.0 release and prove it creates v0.11.0, then completes the existing immutable package, target smoke, publish, and tap-update workflow.
  • Verify the public v0.11.0 artifact contains the strict QuotaInfo lifetime contract and the operations context-header forwarding fix.

Out of scope

  • No human PAT as a release credential.
  • No manual tag, manual GitHub Release, direct artifact upload, or bypass publication.
  • No broad GitHub Actions ruleset bypass.
  • No changes to artifact integrity checks, runner policy, or unrelated workflows.

Related

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions