Skip to content

ci: AUT-1408 replace cicd PAT with GitHub App tokens - #6360

Draft
svcnemo-autobot wants to merge 1 commit into
NVIDIA:mainfrom
svcnemo-autobot:ci/use-github-app-auth
Draft

ci: AUT-1408 replace cicd PAT with GitHub App tokens#6360
svcnemo-autobot wants to merge 1 commit into
NVIDIA:mainfrom
svcnemo-autobot:ci/use-github-app-auth

Conversation

@svcnemo-autobot

Copy link
Copy Markdown
Collaborator

Background

cicd-main used the long-lived secrets.PAT credential across preflight, builds, tests, statuses, comments, and Megatron-Bridge integration.

What changed

Mint short-lived GitHub App tokens from vars.BOT_ID and secrets.BOT_KEY in every consuming job. Scope the cross-repository token explicitly to NVIDIA-NeMo/Megatron-Bridge.

Details

flowchart LR
  ID[BOT_ID] --> Token[Mint app token]
  Key[BOT_KEY] --> Token
  Token --> Local[Megatron-LM jobs]
  Token --> Bridge[Megatron-Bridge integration]
Loading

The token action is pinned to immutable v3.2.0. Existing local action input names remain unchanged.

Tested

  • BASE_REF=main CHECK_ONLY=true SKIP_DOCS=false bash tools/autoformat.sh
  • Workflow YAML parsing and per-job token-order assertions
  • Verified 10 token steps, 12 downstream consumers, and zero secrets.PAT references
  • git diff --check

Signed-off-by: svcnemo-autobot <svcnemo-autobot@nvidia.com>
@svcnemo-autobot
svcnemo-autobot requested a review from a team as a code owner August 7, 2026 22:56
@copy-pr-bot

copy-pr-bot Bot commented Aug 7, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@svcnvidia-nemo-ci
svcnvidia-nemo-ci marked this pull request as draft August 7, 2026 22:56
@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

This PR has been automatically converted to draft because all PRs must start as drafts.

When you are ready for review, click Ready for Review to begin the review process. This will:

  1. Add the oncall reviewer (optional reviewer)
  2. Add required review teams based on your changes

See the contribution guide for more details.

@svcnvidia-nemo-ci

Copy link
Copy Markdown
Contributor

/ok to test 1f3b499

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.

2 participants