Skip to content

fix(pr-agent): run PR-Agent through an org wrapper action - #7

Merged
pbember merged 2 commits into
mainfrom
fix/pr-agent-wrapper
Nov 19, 2026
Merged

pbember merged 2 commits into
mainfrom
fix/pr-agent-wrapper

Conversation

@pbember

@pbember pbember commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

Summary

Problem: The shared PR-Agent workflow ran the pinned image with a direct docker:// step. In a repository that allows only listed actions and requires SHA pins (intersects), a workflow with that step fails to start.

Result: The pinned image moves into an org action, actions/pr-agent, and the workflow calls that action by commit. Org actions are always allowed, so the same workflow now starts everywhere. USAGE documents the SHA-pin path for such repositories.

Changelog: none; this repository has no changelog. docs/USAGE.md is updated.

Evidence

  • Before: intersects runs 44455579791 and 44455724896 ended in startup_failure.
  • After: intersects run 44455864856, pinned to this PR's head 2b5a507, pulled the image by digest, got a token and ran PR-Agent (all steps success).

Merge risk

Rollback: revert. Merge with a merge commit: intersects pins 2b5a507, and the federation rule lists that commit, so it must stay reachable from main.

Affected scope: every caller at @main switches to the wrapper on merge. Same image digest as before.

🤖 Generated with Claude Code

pbember and others added 2 commits November 18, 2026 23:04
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
A direct docker:// step fails to start in repositories with an Actions
allowlist (intersects). Document the SHA-pin path for such repositories.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 19, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 29 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ae863fbc-2050-4f59-8d50-76cc13a4ed24
Commits

Reviewing files that changed from the base of the PR and between 60af93e and 2b5a507.

Files selected for processing: 3

  • .github/workflows/pr-agent.yml
  • actions/pr-agent/action.yml
  • docs/USAGE.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@pbember
pbember merged commit c57bab4 into main Nov 19, 2026
2 checks passed
@pbember
pbember deleted the fix/pr-agent-wrapper branch November 19, 2026 04:27
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