Skip to content

feat(ci): migrate workflows to Workload Identity Provider auth#727

Merged
Teebor-Choka merged 2 commits into
mainfrom
kauki/feat/ci/wif-migration
Jun 17, 2026
Merged

feat(ci): migrate workflows to Workload Identity Provider auth#727
Teebor-Choka merged 2 commits into
mainfrom
kauki/feat/ci/wif-migration

Conversation

@Teebor-Choka

Copy link
Copy Markdown
Contributor

Summary

  • Pins all hoprnet/hopr-workflows action/workflow refs to new OIDC-enabled SHAs
  • Removes legacy gcp_service_account, google_credentials, and GH_RUNNER_TOKEN PAT from workflow inputs
  • Adds id-token: write permission to every consumer job for OIDC token minting
  • Adds github_app_private_key: ${{ secrets.GH_APP_HOPRNET_BOT_PRIVATE_KEY }} to all release-version invocations

Part of the org-wide WIF migration following the GitHub security incident. Reference: hoprnet/blokli#377

Pins hopr-workflows actions and reusable workflows to the new
commits that mint short-lived OIDC tokens. Removes legacy GCP
service-account keys and PATs from action inputs and secrets,
wires id-token: write into every consumer job, and adds the
GitHub App private key to release-version calls. Mirrors the
pattern established in hoprnet/blokli#377.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@Teebor-Choka Teebor-Choka self-assigned this Jun 16, 2026
@Teebor-Choka

Copy link
Copy Markdown
Contributor Author

Implementation plan

Files changed and what was applied per the WIF migration plan:

  • SHA pins updated to ac3e0b6... (setup-gcp) and fa71078... (release-version, build-binaries, build-docker)
  • Removed: gcp_service_account, google_credentials, docker_hub_username, docker_hub_token, github_token: GH_RUNNER_TOKEN
  • Added: id-token: write to affected job permissions, github_app_private_key: ${{ secrets.GH_APP_HOPRNET_BOT_PRIVATE_KEY }} in release-version calls

@coderabbitai

coderabbitai Bot commented Jun 16, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@Teebor-Choka, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 26 minutes and 58 seconds. Learn how PR review limits work.

Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file).

⌛ How to resolve this issue?

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 credits.

🚦 How do rate limits work?

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

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, the refill rate gradually slows as usage increases. The highest same-day bursts are limited more strictly.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 8915c52e-f6b3-4c4d-8ef4-6eb07099a528

📥 Commits

Reviewing files that changed from the base of the PR and between fdb4e01 and 71c754b.

📒 Files selected for processing (3)
  • .github/workflows/merge.yaml
  • .github/workflows/pr.yaml
  • .github/workflows/release.yaml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch kauki/feat/ci/wif-migration

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 and usage tips.

@github-actions

github-actions Bot commented Jun 16, 2026

Copy link
Copy Markdown

🔎 Trivy Security Report

Target Package Installed Severity CVE
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.2-commit.71c754b-linux-amd64 (alpine 3.23.4) libcrypto3 3.5.6-r0 HIGH CVE-2026-45447
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.2-commit.71c754b-linux-amd64 (alpine 3.23.4) libssl3 3.5.6-r0 HIGH CVE-2026-45447
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.2-commit.71c754b-linux-amd64 (alpine 3.23.4) libxml2 2.13.9-r0 HIGH CVE-2026-6732
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.2-commit.71c754b-linux-amd64 (alpine 3.23.4) nghttp2-libs 1.68.0-r0 HIGH CVE-2026-27135

@Teebor-Choka Teebor-Choka marked this pull request as ready for review June 16, 2026 13:03
Adds inline # <tag> comments to all hopr-workflows SHA references
so the tag context is visible alongside the opaque hash.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@Teebor-Choka Teebor-Choka merged commit bb4ec69 into main Jun 17, 2026
12 checks passed
@Teebor-Choka Teebor-Choka deleted the kauki/feat/ci/wif-migration branch June 17, 2026 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant