Skip to content

Revert "[ROCM-26731] Exclude external PRs from CI GitHub action" - #5263

Merged
causten merged 1 commit into
developfrom
revert-5240-guard_self_hosted_jobs
Sep 16, 2026
Merged

causten merged 1 commit into
developfrom
revert-5240-guard_self_hosted_jobs

Conversation

@causten

@causten causten commented Sep 14, 2026

Copy link
Copy Markdown
Collaborator

Reverts #5240

Copilot AI lite review requested due to automatic review settings September 14, 2026 19:15

Copilot AI 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.

🟡 Changes recommended

Restore the fork guard or isolate the self-hosted runner before allowing external PR execution.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

Reverts the CI restriction excluding external pull requests, re-enabling forked PR execution across CI jobs.

Changes:

  • Removes fork guards from Ubuntu and SLES image builds.
  • Removes guards from tidy, cppcheck, and SLES jobs.
File summaries
File Description
.github/workflows/ci.yaml Re-enables external PR execution across CI jobs; fork-controlled Docker builds can run on a self-hosted runner.
Review details

Suppressed comments (4)

.github/workflows/ci.yaml:100

  • [agent]: This also enables fork PRs to run the checkout-controlled SLES Dockerfile on the ROCM-Ubuntu self-hosted runner, so its build steps execute untrusted PR content there. Restore the fork guard (or isolate this job on a hosted runner) before re-enabling external PRs.
    if: ${{ needs.check_image.outputs.imageexists_sles != 'true' }}

.github/workflows/ci.yaml:127

  • [agent]: Because build_image is normally skipped when the cached image exists, this condition now lets fork PRs reach tidy on the self-hosted ROCM-Ubuntu runner, where the checked-out PR is mounted into Docker and configured by CMake. Restore the fork guard here as well, or use an isolated runner.
    if: ${{ !cancelled() && (needs.build_image.result == 'success' || needs.build_image.result == 'skipped') }}

.github/workflows/ci.yaml:285

  • [agent]: This re-enables fork PRs in the sles job on the self-hosted ROCM-Ubuntu runner; its Docker-mounted build executes CMake and Make against PR-controlled files. Restore the fork guard here too, or move this job to an isolated hosted runner.
    if: ${{ !cancelled() && (needs.build_SLES_image.result == 'success' || needs.build_SLES_image.result == 'skipped') }}      

.github/workflows/ci.yaml:184

  • [agent]: This condition similarly allows fork PRs into cppcheck on the self-hosted ROCM-Ubuntu runner; the job mounts and executes the checked-out repository, including PR-controlled build and test scripts. Restore the fork guard here, or run this job only in an isolated environment.
    if: ${{ !cancelled() && (needs.build_image.result == 'success' || needs.build_image.result == 'skipped') }}
  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/ci.yaml
github.event.pull_request.head.repo.full_name == github.repository) &&
needs.check_image.outputs.imageexists != 'true'
}}
if: ${{ needs.check_image.outputs.imageexists != 'true' }}
@causten
causten merged commit 94b1be9 into develop Sep 16, 2026
34 checks passed
@causten
causten deleted the revert-5240-guard_self_hosted_jobs branch September 16, 2026 18:25
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.

3 participants