Skip to content

NO-ISSUE: skip EP review for forgeSmith-bot PRs - #170

Merged
openshift-merge-bot[bot] merged 1 commit into
osac-project:mainfrom
ItzikEzra-rh:fix/skip-ep-review-for-forge
Jul 28, 2026
Merged

openshift-merge-bot[bot] merged 1 commit into
osac-project:mainfrom
ItzikEzra-rh:fix/skip-ep-review-for-forge

Conversation

@ItzikEzra-rh

@ItzikEzra-rh ItzikEzra-rh commented Jul 28, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Test plan

  • Verify existing Forge PRs no longer trigger ep-review on push
  • Verify /review-ep comment on a Forge PR still triggers review
  • Verify non-Forge PRs still get automatic review

Summary by CodeRabbit

  • Bug Fixes
    • Prevented the automated pull request review workflow from running for pull requests created by the forgeSmith-bot account.

Forge pushes commits in response to review feedback, which re-triggers
the ep-review workflow via synchronize events, creating an infinite loop.
Skip automatic review when the PR author is forgeSmith-bot. Manual
/review-ep comments still work on Forge PRs.

Assisted-by: Claude Code <noreply@anthropic.com>
Signed-off-by: Itzik Ezra <iezra@redhat.com>
@openshift-ci
openshift-ci Bot requested review from adriengentil and rccrdpccl July 28, 2026 15:08
@coderabbitai

coderabbitai Bot commented Jul 28, 2026 •

Copy link
Copy Markdown

Review Change Stack

Walkthrough

The resolve-pr job in the pull request review workflow now skips pull_request_target events when the pull request author is forgeSmith-bot.

Changes

Review workflow filtering

Layer / File(s) Summary
Restrict resolve-pr execution
.github/workflows/ep-review.yml
The job condition now requires the pull request author login to differ from forgeSmith-bot for pull_request_target events.

Estimated code review effort: 1 (Trivial) | ~2 minutes

🚥 Pre-merge checks | ✅ 11
✅ Passed checks (11 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
No-Hardcoded-Secrets ✅ Passed Changed only a workflow condition; no hardcoded secret/token/password literals, embedded creds, or long base64 blobs were introduced.
No-Weak-Crypto ✅ Passed Only a workflow guard changed; no MD5/SHA1/DES/RC4/ECB/custom crypto or secret-comparison code was added.
No-Injection-Vectors ✅ Passed Only a GitHub Actions if-condition changed; no SQL, shell, eval/exec, pickle, yaml.load, os.system, or unsafe HTML patterns were introduced.
Container-Privileges ✅ Passed Only a workflow file changed; no container/K8s manifests or privilege settings (privileged, hostPID/Network/IPC, SYS_ADMIN, allowPrivilegeEscalation) were introduced.
No-Sensitive-Data-In-Logs ✅ Passed The PR only tightens a workflow condition; it adds no new logging or debug output that would expose secrets or PII.
Ai-Attribution ✅ Passed The PR commit mentions Claude Code and includes a proper Assisted-by trailer; no Co-Authored-By AI attribution was found.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: skipping EP review for forgeSmith-bot pull requests.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

@ItzikEzra-rh ItzikEzra-rh changed the title skip EP review for forgeSmith-bot PRs NO-ISSUE: skip EP review for forgeSmith-bot PRs Jul 28, 2026
@openshift-ci-robot

Copy link
Copy Markdown

@ItzikEzra-rh: This pull request explicitly references no jira issue.

Details

In response to this:

Summary

Test plan

  • Verify existing Forge PRs no longer trigger ep-review on push
  • Verify /review-ep comment on a Forge PR still triggers review
  • Verify non-Forge PRs still get automatic review

Summary by CodeRabbit

  • Bug Fixes
  • Prevented the automated pull request review workflow from running for pull requests created by the forgeSmith-bot account.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@eranco74 eranco74 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

/lgtm
/approve

@openshift-ci

openshift-ci Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: eranco74, ItzikEzra-rh

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@eranco74

Copy link
Copy Markdown
Contributor

/hold

@openshift-ci openshift-ci Bot added the do-not-merge/hold Block merge until the label is removed label Jul 28, 2026
@eranco74

Copy link
Copy Markdown
Contributor

We do want the review, this seems like a better fix
forge-sdlc/forge#232

@openshift-merge-bot
openshift-merge-bot Bot merged commit 9aaff83 into osac-project:main Jul 28, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants