Skip to content

👷 ci(code-review): call the workflow from xdanger/xdanger - #4

Merged
xdanger merged 2 commits into
mainfrom
ci/move-code-review-to-xdanger
Oct 20, 2026
Merged

xdanger merged 2 commits into
mainfrom
ci/move-code-review-to-xdanger

Conversation

@xdanger

@xdanger xdanger commented Oct 20, 2026 •

Copy link
Copy Markdown
Owner

The shared code-review workflow moved from krosdai/.github to xdanger/xdanger when the repositories moved to the personal account. This points uses: at the new location and moves the caller from @v1 to @v2.

v1 needed an ANTHROPIC_API_KEY secret that only the old krosdai organization provided. v2 authenticates through workload identity federation instead, so the secrets: block is gone: v2 no longer declares that secret, and passing it fails workflow validation. The workflow already grants id-token: write, which the token exchange needs.

The four FEDERATION_* repository variables that v2 reads are now set on this repository, copied from xdanger/xdanger, because a personal account has no account-level Actions variables.

🤖 Generated with Claude Code

- 👷 the shared review workflow moved from `krosdai/.github` to `xdanger/xdanger`; keep the same tag so the review behaviour stays unchanged

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@xdanger xdanger self-assigned this Oct 20, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-20T05:04:10.193292Z c14b3c7 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The destination workflow exists at @v1 and its inputs, secret declaration, and permissions are compatible with the caller.

No open issues 🎉

What changed in this PR

Updates the code-review workflow caller to the shared workflow’s new personal-account location.

Changes:

  • Switches from krosdai/.github to xdanger/xdanger, retaining @v1 and the existing inputs and secret mapping.
File Description
.github/​workflows/​code-review.yml Points the reusable workflow call to its new repository.

Review effort: Balanced

- 👷 `v1` needs an `ANTHROPIC_API_KEY` secret that only the old `krosdai` organization provided; `v2` authenticates through workload identity federation instead
- 🔥 drop the `secrets:` block, since `v2` no longer declares `ANTHROPIC_API_KEY` and passing it fails workflow validation

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@xdanger
xdanger merged commit 0680601 into main Oct 20, 2026
1 check passed
@xdanger
xdanger deleted the ci/move-code-review-to-xdanger branch October 20, 2026 05:17
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.

2 participants