Skip to content

Revert "Fix/gate cuda ci registry auth" - #33894

Merged
Tianlei Wu (tianleiwu) merged 1 commit into
mainfrom
revert-33376-fix/gate-cuda-ci-registry-auth
Nov 4, 2026
Merged

Tianlei Wu (tianleiwu) merged 1 commit into
mainfrom
revert-33376-fix/gate-cuda-ci-registry-auth

Conversation

@tianleiwu

Copy link
Copy Markdown
Contributor

Reverts #33376

Copilot AI balanced review requested due to automatic review settings November 4, 2026 21:53

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

Fork-controlled code can execute on build and GPU runners with privileged Azure managed identities, creating a critical security exposure that a read-only GITHUB_TOKEN does not mitigate.

1 open issue
What changed in this PR

Reverts #33376’s fork-PR restrictions in ONNX Runtime’s Linux CI workflows, restoring the previous job eligibility and permission placement.

Changes:

  • Removes fork-origin guards from the reusable Linux build job and CUDA build/test jobs.
  • Moves CUDA build write permissions from job scope back to workflow scope.
File Description
.github/​workflows/​reusable_linux_build.yml Removes the shared build job’s fork-origin restriction.
.github/​workflows/​linux_cuda_ci.yml Removes CUDA job fork restrictions and restores workflow-level write permissions.

Review effort: Balanced

jobs:
build_test_pipeline:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
runs-on: ["${{ inputs.pool_name }}"]
@tianleiwu
Tianlei Wu (tianleiwu) merged commit 4177f55 into main Nov 4, 2026
@tianleiwu
Tianlei Wu (tianleiwu) deleted the revert-33376-fix/gate-cuda-ci-registry-auth branch November 4, 2026 22:08
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