Skip to content

ci(release): authenticate semantic-release via Flanksource GitHub App#326

Merged
moshloop merged 1 commit into
masterfrom
fix/release-app-auth-current
Jul 15, 2026
Merged

ci(release): authenticate semantic-release via Flanksource GitHub App#326
moshloop merged 1 commit into
masterfrom
fix/release-app-auth-current

Conversation

@moshloop

Copy link
Copy Markdown
Member

What

Current, mergeable version of the release-auth fix — supersedes the stale #323
(which predates the fix(security) commit now on master).

commons' Create Release workflow runs semantic-release on push to master, but
the default GITHUB_TOKEN is blocked by org policy from pushing tags / creating
releases. So no semver tag has been cut since v1.53.1, even though a feat:
and two fix:es have since landed on master (51910b8, 516bc6d, a599996).

This mints a Flanksource GitHub App installation token and hands it to checkout

  • semantic-release, matching the pattern already used in sibling repos'
    (clicky-ui, mission-control-oipa) release workflows.

On merge, the workflow re-runs on master with working auth and cuts the pending
release (≈ v1.54.0, driven by the feat:), which downstream consumers pinning a
pseudo-version (e.g. mission-control-oipa at …-516bc6d) can then move to a tag.

Cherry-pick of 33419da (#323) onto current master.

The Create Release workflow failed at job setup with "Repository access
blocked" and the default GITHUB_TOKEN cannot push release tags / create
releases under current org policy, so no semver tag was being cut on push
to master.

Mint a GitHub App installation token (actions/create-github-app-token) from
the Flanksource App credentials (FLANKSOURCE_APP_ID / FLANKSOURCE_APP_SECRET)
and use it for both the checkout and the semantic-release step.
@coderabbitai

coderabbitai Bot commented Jul 15, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@moshloop, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 50 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: c9294a1f-2b06-4708-9471-5ec7f8a530b6

📥 Commits

Reviewing files that changed from the base of the PR and between a599996 and 46214fd.

📒 Files selected for processing (1)
  • .github/workflows/release.yml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/release-app-auth-current
✨ Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch fix/release-app-auth-current

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

Copy link
Copy Markdown

Gavel summary

Source Pass Fail Skip Duration
collections 49 0 0 3.0s
files 41 0 0 62ms
github.com/flanksource/commons/certs 4 0 0 410ms
github.com/flanksource/commons/cmd/hx 8 0 0 -
github.com/flanksource/commons/cmd/hx/parse 26 0 0 -
github.com/flanksource/commons/collections/syncmap 10 0 0 -
github.com/flanksource/commons/context 1 0 0 -
github.com/flanksource/commons/duration 2 0 0 -
github.com/flanksource/commons/files 16 0 0 -
github.com/flanksource/commons/har 30 0 0 -
github.com/flanksource/commons/hash 13 0 0 -
github.com/flanksource/commons/http 95 0 2 12.6s
github.com/flanksource/commons/logger 49 0 0 10ms
github.com/flanksource/commons/logger/httpretty/internal/color 15 0 0 -
github.com/flanksource/commons/logger/httpretty/internal/header 1 0 0 -
github.com/flanksource/commons/lookup 7 0 0 -
github.com/flanksource/commons/test 5 0 1 20ms
github.com/flanksource/commons/text 1 0 0 -
github.com/flanksource/commons/tokenizer 3 0 0 -
logger 41 0 0 2ms
set 7 0 0 489.324µs

Totals: 424 passed · 0 failed · 3 skipped · 16.1s

View full results

@moshloop
moshloop merged commit 06c8e5e into master Jul 15, 2026
10 checks passed
@moshloop
moshloop deleted the fix/release-app-auth-current branch July 15, 2026 04:54
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