ci: enable GitHub Actions workflows to support fork PRs#250
Merged
jeremyeder merged 1 commit intoambient-code:mainfrom Jan 14, 2026
Merged
ci: enable GitHub Actions workflows to support fork PRs#250jeremyeder merged 1 commit intoambient-code:mainfrom
jeremyeder merged 1 commit intoambient-code:mainfrom
Conversation
Refactor CI workflows to handle fork PRs which have limited permissions and cannot post comments directly. Changes: - ci.yml: Save coverage data as artifact instead of posting comment directly (which fails on forks due to permissions) - coverage-comment.yml: New workflow using workflow_run trigger to post coverage comments with write permissions in upstream context. Includes security validation of PR number to prevent cross-PR comment injection. - pr-review-auto-fix.yml: Add allowed_non_write_users: '*' to enable Claude Code Review on fork PRs (claude-code-action#579) Fixes "Resource not accessible by integration" errors for external contributor PRs from forks. Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Chris Hambridge <chambrid@redhat.com>
Contributor
|
🎉 This PR is included in version 2.22.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
kami619
pushed a commit
to kami619/agentready
that referenced
this pull request
Jan 15, 2026
…#250) Refactor CI workflows to handle fork PRs which have limited permissions and cannot post comments directly. Changes: - ci.yml: Save coverage data as artifact instead of posting comment directly (which fails on forks due to permissions) - coverage-comment.yml: New workflow using workflow_run trigger to post coverage comments with write permissions in upstream context. Includes security validation of PR number to prevent cross-PR comment injection. - pr-review-auto-fix.yml: Add allowed_non_write_users: '*' to enable Claude Code Review on fork PRs (claude-code-action#579) Fixes "Resource not accessible by integration" errors for external contributor PRs from forks. Signed-off-by: Chris Hambridge <chambrid@redhat.com> Co-authored-by: Claude <noreply@anthropic.com>
jeremyeder
pushed a commit
that referenced
this pull request
Feb 6, 2026
Refactor CI workflows to handle fork PRs which have limited permissions and cannot post comments directly. Changes: - ci.yml: Save coverage data as artifact instead of posting comment directly (which fails on forks due to permissions) - coverage-comment.yml: New workflow using workflow_run trigger to post coverage comments with write permissions in upstream context. Includes security validation of PR number to prevent cross-PR comment injection. - pr-review-auto-fix.yml: Add allowed_non_write_users: '*' to enable Claude Code Review on fork PRs (claude-code-action#579) Fixes "Resource not accessible by integration" errors for external contributor PRs from forks. Signed-off-by: Chris Hambridge <chambrid@redhat.com> Co-authored-by: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Refactor CI workflows to handle fork PRs which have limited permissions and cannot post comments directly.
Type of Change
Related Issues
Fixes "Resource not accessible by integration" errors for external contributor PRs from forks.
Changes Made
Testing
actionlint: All 3 workflow files pass validation (ci.yml, coverage-comment.yml, pr-review-auto-fix.yml)
Security review: Validated PR number injection mitigation - uses trusted PR number from GitHub API, not artifact
No runtime tests: Workflow changes can only be fully tested when triggered by actual fork PRs in the upstream repo
Unit tests pass (
pytest)Integration tests pass
Manual testing performed
No new warnings or errors
Checklist
Screenshots (if applicable)
Additional Notes