diff --git a/.github/actions/test-template/action.yml b/.github/actions/test-template/action.yml index 8ac25400f7b5..ae58280727c2 100644 --- a/.github/actions/test-template/action.yml +++ b/.github/actions/test-template/action.yml @@ -86,7 +86,7 @@ runs: echo "id=$(uuidgen)" >> "$GITHUB_OUTPUT" - name: Checkout NeMo - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 env: DIR: ${{ github.run_id }} with: @@ -165,7 +165,7 @@ runs: echo "$cmd" | tee "$DIR/job.sh" - name: Run main script - uses: nick-fields/retry@v3 + uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3 with: timeout_seconds: ${{ steps.create.outputs.timeout_in_seconds }} max_attempts: 3 @@ -216,7 +216,7 @@ runs: docker exec -t nemo_container_${{ github.run_id }}_${{ inputs.runner }} coverage report -i - name: Upload artifacts - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6 if: ${{ steps.check.outputs.coverage_report != 'none' }} with: name: ${{ steps.check.outputs.coverage_report }} diff --git a/.github/workflows/_build_container.yml b/.github/workflows/_build_container.yml index ab478e8be284..b67b953a9f74 100644 --- a/.github/workflows/_build_container.yml +++ b/.github/workflows/_build_container.yml @@ -36,7 +36,7 @@ jobs: cache-from: ${{ steps.cache_from.outputs.LAST_PRS }} steps: - name: Checkout repository - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 - name: Get last merged PR id: cache_from @@ -67,7 +67,7 @@ jobs: image: ${{ steps.image-tag.outputs.image }} steps: - name: Checkout repository - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 - name: Compute image tag id: image-tag @@ -88,10 +88,10 @@ jobs: echo "cache-to=type=registry,ref=${{ inputs.registry }}/nemo-speech:${{ inputs.image-name }}-buildcache-${KEY},mode=max" | tee -a $GITHUB_OUTPUT - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 + uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3 - name: Build and push - uses: docker/build-push-action@v5 + uses: docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25 # v5 with: file: ${{ inputs.dockerfile }} push: true diff --git a/.github/workflows/_bump_mcore_tag.yml b/.github/workflows/_bump_mcore_tag.yml index 56e316f933b9..3bde39786340 100644 --- a/.github/workflows/_bump_mcore_tag.yml +++ b/.github/workflows/_bump_mcore_tag.yml @@ -18,7 +18,7 @@ jobs: update-branch: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 with: ref: ${{ inputs.nemo-target-branch }} @@ -42,7 +42,7 @@ jobs: git push -u origin $SOURCE_BRANCH mcore: - uses: NVIDIA-NeMo/FW-CI-templates/.github/workflows/_bump_yamlfile.yml@v0.27.1 + uses: NVIDIA-NeMo/FW-CI-templates/.github/workflows/_bump_yamlfile.yml@e9234b737e49c67369671a51d103d3e1f2ff821c # v0.27.1 needs: [update-branch] with: source-repository: NVIDIA/Megatron-LM diff --git a/.github/workflows/cherry-pick-release-commit.yml b/.github/workflows/cherry-pick-release-commit.yml index 32f06df504ea..c99145a1a59a 100644 --- a/.github/workflows/cherry-pick-release-commit.yml +++ b/.github/workflows/cherry-pick-release-commit.yml @@ -7,7 +7,7 @@ on: jobs: cherry-pick: - uses: NVIDIA-NeMo/FW-CI-templates/.github/workflows/_cherry_pick.yml@v0.63.0 + uses: NVIDIA-NeMo/FW-CI-templates/.github/workflows/_cherry_pick.yml@8ebb3aec4c246c944a25adc7b09107cbd6a76976 # v0.63.0 secrets: PAT: ${{ secrets.PAT }} SLACK_WEBHOOK_ADMIN: ${{ secrets.SLACK_WEBHOOK_ADMIN }} diff --git a/.github/workflows/cicd-approve-test-queue.yml b/.github/workflows/cicd-approve-test-queue.yml index 6a58863b8e91..1e5560dee61b 100644 --- a/.github/workflows/cicd-approve-test-queue.yml +++ b/.github/workflows/cicd-approve-test-queue.yml @@ -25,10 +25,10 @@ jobs: environment: main steps: - name: Checkout repository - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 - name: Set up Python - uses: actions/setup-python@v6 + uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6 with: python-version: "3.12" diff --git a/.github/workflows/cicd-main-speech.yml b/.github/workflows/cicd-main-speech.yml index f4cc17e072b8..f0c6bf489f4c 100644 --- a/.github/workflows/cicd-main-speech.yml +++ b/.github/workflows/cicd-main-speech.yml @@ -128,9 +128,9 @@ jobs: name: ${{ matrix.script }} steps: - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 - name: Checkout NeMo - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 with: path: ${{ github.run_id }} - name: main @@ -294,9 +294,9 @@ jobs: name: ${{ matrix.is-optional && 'PLEASEFIXME_' || '' }}${{ matrix.script }} steps: - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 - name: Checkout NeMo - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 with: path: ${{ github.run_id }} - name: main @@ -561,9 +561,9 @@ jobs: name: ${{ matrix.script }} steps: - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 - name: Checkout NeMo - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 with: path: ${{ github.run_id }} - name: main diff --git a/.github/workflows/cicd-main-unit-tests.yml b/.github/workflows/cicd-main-unit-tests.yml index 70a1642c7027..a204d8586944 100644 --- a/.github/workflows/cicd-main-unit-tests.yml +++ b/.github/workflows/cicd-main-unit-tests.yml @@ -43,9 +43,9 @@ jobs: name: ${{ matrix.script }} steps: - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 - name: Checkout NeMo - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 with: path: ${{ github.run_id }} - name: main @@ -78,9 +78,9 @@ jobs: name: ${{ matrix.script }} steps: - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 - name: Checkout NeMo - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 with: path: ${{ github.run_id }} - name: main @@ -108,9 +108,9 @@ jobs: name: ${{ matrix.script }} steps: - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 - name: Checkout NeMo - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 with: path: ${{ github.run_id }} - name: main diff --git a/.github/workflows/cicd-main.yml b/.github/workflows/cicd-main.yml index e14880d39487..4a1ca4371f5c 100644 --- a/.github/workflows/cicd-main.yml +++ b/.github/workflows/cicd-main.yml @@ -36,7 +36,7 @@ concurrency: jobs: pre-flight: - uses: NVIDIA-NeMo/FW-CI-templates/.github/workflows/_cicd_preflight.yml@v0.89.0 + uses: NVIDIA-NeMo/FW-CI-templates/.github/workflows/_cicd_preflight.yml@63ee9e3b9fc4ca02af1bd75d3126e526b2a77a24 # v0.89.0 with: default_runner_prefix: ${{ vars.DEFAULT_RUNNER_PREFIX }} non_nvidia_runner_prefix: ${{ vars.NON_NVIDIA_RUNNER_PREFIX }} @@ -64,7 +64,7 @@ jobs: EVENT_NAME: ${{ github.event_name }} steps: - name: Checkout branch - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 with: fetch-depth: 0 @@ -201,7 +201,7 @@ jobs: echo "id=$(uuidgen)" >> "$GITHUB_OUTPUT" - name: Checkout NeMo - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 with: path: ${{ github.run_id }}/${{steps.uuid.outputs.id }}/NeMo @@ -239,9 +239,9 @@ jobs: && !cancelled() steps: - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 - name: Checkout NeMo - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 with: path: ${{ github.run_id }} @@ -309,7 +309,7 @@ jobs: permissions: write-all steps: - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 - name: Get workflow result id: result @@ -380,10 +380,10 @@ jobs: flag: [unit-test, e2e] steps: - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 - name: Download coverage reports of current branch - uses: actions/download-artifact@v7 + uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7 with: pattern: coverage-${{ matrix.flag }}-* @@ -401,14 +401,14 @@ jobs: ls -al - name: Upload coverage reports to Codecov - uses: codecov/codecov-action@v5 + uses: codecov/codecov-action@0fb7174895f61a3b6b78fc075e0cd60383518dac # v5 with: token: ${{ secrets.CODECOV_TOKEN }} verbose: true flags: ${{ matrix.flag }} - name: Upload artifacts - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6 with: name: coverage-${{ matrix.flag }}-aggregated path: | diff --git a/.github/workflows/claude-answer.yml b/.github/workflows/claude-answer.yml index 5f3b4c494d67..44cbc29ac8b0 100644 --- a/.github/workflows/claude-answer.yml +++ b/.github/workflows/claude-answer.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check team membership - uses: actions/github-script@v8 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 with: github-token: ${{ secrets.ORG_TEAM_READ_TOKEN }} script: | @@ -40,7 +40,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Add eyes reaction to comment - uses: actions/github-script@v8 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 with: script: | await github.rest.reactions.createForIssueComment({ @@ -54,8 +54,8 @@ jobs: needs: acknowledge runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 - - uses: anthropics/claude-code-action@v1 + - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 + - uses: anthropics/claude-code-action@be7b93b1907a4abad570368f3c74b6fe3807510b # v1 env: ANTHROPIC_BASE_URL: ${{ secrets.NVIDIA_INFERENCE_URL }} CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS: "1" diff --git a/.github/workflows/claude-babysit-pr.yml b/.github/workflows/claude-babysit-pr.yml index 3ddbf8f6dca9..dca446ddcedd 100644 --- a/.github/workflows/claude-babysit-pr.yml +++ b/.github/workflows/claude-babysit-pr.yml @@ -96,7 +96,7 @@ jobs: # non-member adds the label, revert it and explain. - name: Verify label sender is speech_team id: authz - uses: actions/github-script@v8 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 with: github-token: ${{ secrets.ORG_TEAM_READ_TOKEN }} script: | @@ -117,7 +117,7 @@ jobs: } - name: Checkout for GH CLI - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 - name: Refuse activation from non-speech_team sender if: steps.authz.outputs.authorized != 'true' @@ -133,7 +133,7 @@ jobs: - name: Post takeover comment if: steps.authz.outputs.authorized == 'true' - uses: actions/github-script@v8 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 with: script: | await github.rest.issues.createComment({ @@ -164,7 +164,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check team membership - uses: actions/github-script@v8 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 with: github-token: ${{ secrets.ORG_TEAM_READ_TOKEN }} script: | @@ -189,7 +189,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Add eyes reaction - uses: actions/github-script@v8 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 with: script: | if (context.payload.comment) { @@ -205,9 +205,9 @@ jobs: needs: acknowledge-review runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 - - uses: anthropics/claude-code-action@v1 + - uses: anthropics/claude-code-action@be7b93b1907a4abad570368f3c74b6fe3807510b # v1 env: ANTHROPIC_BASE_URL: ${{ secrets.NVIDIA_INFERENCE_URL }} CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS: "1" @@ -237,7 +237,7 @@ jobs: steps: - name: Look up PR and assess state id: lookup - uses: actions/github-script@v8 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 with: script: | const prNumber = context.payload.workflow_run.pull_requests[0].number; @@ -274,11 +274,11 @@ jobs: group: babysit-fix-${{ needs.check-label-for-ci.outputs.pr_number }} cancel-in-progress: true steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 with: ref: ${{ needs.check-label-for-ci.outputs.head_ref }} - - uses: anthropics/claude-code-action@v1 + - uses: anthropics/claude-code-action@be7b93b1907a4abad570368f3c74b6fe3807510b # v1 env: ANTHROPIC_BASE_URL: ${{ secrets.NVIDIA_INFERENCE_URL }} CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS: "1" @@ -361,7 +361,7 @@ jobs: # be an active speech_team member. Also fork-guard by fetching the PR. - name: Verify commenter is speech_team and PR is not a fork id: authz - uses: actions/github-script@v8 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 with: github-token: ${{ secrets.ORG_TEAM_READ_TOKEN }} script: | @@ -397,7 +397,7 @@ jobs: } - name: Checkout for GH CLI - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 - name: Refuse non-speech_team approval if: steps.authz.outputs.authorized != 'true' && steps.authz.outputs.reason == 'not-speech-team' @@ -409,7 +409,7 @@ jobs: gh pr comment "$PR_NUMBER" --body \ "@${SENDER} only NVIDIA-NeMo \`speech_team\` members can approve the babysitter's plan. Ignoring this reply." - - uses: anthropics/claude-code-action@v1 + - uses: anthropics/claude-code-action@be7b93b1907a4abad570368f3c74b6fe3807510b # v1 if: steps.authz.outputs.authorized == 'true' env: GH_TOKEN: ${{ secrets.NEMO_RELABEL_TOKEN }} @@ -464,7 +464,7 @@ jobs: # speech_team. Defense-in-depth against a non-member adding the label. - name: Verify label sender is speech_team id: authz - uses: actions/github-script@v8 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 with: github-token: ${{ secrets.ORG_TEAM_READ_TOKEN }} script: | @@ -486,7 +486,7 @@ jobs: - name: Verify a bot-authored plan comment exists id: plan if: steps.authz.outputs.authorized == 'true' - uses: actions/github-script@v8 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 with: script: | const comments = await github.paginate(github.rest.issues.listComments, { @@ -502,7 +502,7 @@ jobs: - name: Checkout for GH CLI (refusal paths) if: steps.authz.outputs.authorized != 'true' || steps.plan.outputs.found != 'true' - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 - name: Refuse execution from non-speech_team sender if: steps.authz.outputs.authorized != 'true' @@ -527,7 +527,7 @@ jobs: gh pr edit "$PR_NUMBER" --remove-label "Agent Plan Approved" || true exit 0 - - uses: actions/checkout@v6 + - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 if: steps.authz.outputs.authorized == 'true' && steps.plan.outputs.found == 'true' with: ref: ${{ github.event.pull_request.head.ref }} @@ -537,7 +537,7 @@ jobs: if: steps.authz.outputs.authorized == 'true' && steps.plan.outputs.found == 'true' run: echo "sha=$(git rev-parse HEAD)" >> "$GITHUB_OUTPUT" - - uses: anthropics/claude-code-action@v1 + - uses: anthropics/claude-code-action@be7b93b1907a4abad570368f3c74b6fe3807510b # v1 if: steps.authz.outputs.authorized == 'true' && steps.plan.outputs.found == 'true' env: ANTHROPIC_BASE_URL: ${{ secrets.NVIDIA_INFERENCE_URL }} @@ -587,7 +587,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Ping PR author - uses: actions/github-script@v8 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 env: PR_NUMBER: ${{ needs.check-label-for-ci.outputs.pr_number }} CHECK_NAME: ${{ github.event.workflow_run.name }} @@ -602,7 +602,7 @@ jobs: }); - name: Checkout for GH CLI - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 - name: Clear all babysitter labels env: @@ -626,7 +626,7 @@ jobs: cancel-in-progress: true steps: - name: Post deactivation comment - uses: actions/github-script@v8 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 with: script: | await github.rest.issues.createComment({ @@ -637,7 +637,7 @@ jobs: }); - name: Checkout for GH CLI - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 - name: Clear plan-state labels env: diff --git a/.github/workflows/claude-fix.yml b/.github/workflows/claude-fix.yml index cccad81c1d14..fe20e427b8d3 100644 --- a/.github/workflows/claude-fix.yml +++ b/.github/workflows/claude-fix.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check team membership - uses: actions/github-script@v8 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 with: github-token: ${{ secrets.ORG_TEAM_READ_TOKEN }} script: | @@ -41,7 +41,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Add eyes reaction to comment - uses: actions/github-script@v8 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 with: script: | await github.rest.reactions.createForIssueComment({ @@ -55,8 +55,8 @@ jobs: needs: acknowledge runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 - - uses: anthropics/claude-code-action@v1 + - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 + - uses: anthropics/claude-code-action@be7b93b1907a4abad570368f3c74b6fe3807510b # v1 id: claude env: ANTHROPIC_BASE_URL: ${{ secrets.NVIDIA_INFERENCE_URL }} @@ -98,7 +98,7 @@ jobs: - name: Label PR with agent-contribution if: steps.claude.outputs.branch_name - uses: actions/github-script@v8 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 with: script: | const prs = await github.rest.pulls.list({ diff --git a/.github/workflows/claude-review.yml b/.github/workflows/claude-review.yml index ea124b87810f..a5ede4617ff2 100644 --- a/.github/workflows/claude-review.yml +++ b/.github/workflows/claude-review.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Add eyes reaction to comment - uses: actions/github-script@v8 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 with: script: | await github.rest.reactions.createForIssueComment({ @@ -30,7 +30,7 @@ jobs: claude-review: needs: acknowledge - uses: NVIDIA-NeMo/FW-CI-templates/.github/workflows/_claude_review.yml@v1.7.0 + uses: NVIDIA-NeMo/FW-CI-templates/.github/workflows/_claude_review.yml@1fc7b2f024bac423b1825a57182f3628c5fcb1f1 # v1.7.0 with: model: ${{ vars.CLAUDE_MODEL }} prompt: | diff --git a/.github/workflows/close-inactive-issue-pr.yml b/.github/workflows/close-inactive-issue-pr.yml index c71997e4b9bf..777f91ff2c89 100644 --- a/.github/workflows/close-inactive-issue-pr.yml +++ b/.github/workflows/close-inactive-issue-pr.yml @@ -10,7 +10,7 @@ jobs: issues: write pull-requests: write steps: - - uses: actions/stale@v6 + - uses: actions/stale@5ebf00ea0e4c1561e9b43a292ed34424fb1d4578 # v6 with: operations-per-run: 100 days-before-issue-stale: 30 diff --git a/.github/workflows/code-formatting.yml b/.github/workflows/code-formatting.yml index d43d44d5aa12..8f3fbe523ea3 100644 --- a/.github/workflows/code-formatting.yml +++ b/.github/workflows/code-formatting.yml @@ -19,22 +19,22 @@ jobs: contents: read steps: - name: Checkout branch - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 - name: Get changed files id: changed-files - uses: step-security/changed-files@v45.0.1 + uses: step-security/changed-files@3dbe17c78367e7d60f00d78ae6781a35be47b4a1 # v45.0.1 with: files: | **.py - name: Setup Python env - uses: actions/setup-python@v6 + uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6 with: python-version: "3.10" - name: black - uses: psf/black@stable + uses: psf/black@87928e6d6761a4a6d22250e1fee5601b3998086e # stable if: ${{ steps.changed-files.outputs.any_changed == 'true' }} with: options: "--check --verbose" @@ -43,7 +43,7 @@ jobs: version: "~= 24.3" - name: isort - uses: isort/isort-action@v1 + uses: isort/isort-action@24d8a7a51d33ca7f36c3f23598dafa33f7071326 # v1 if: ${{ steps.changed-files.outputs.any_changed == 'true' }} with: isort-version: "5.13.2" diff --git a/.github/workflows/code-init-file-checker.yml b/.github/workflows/code-init-file-checker.yml index 7d0444b136af..f73d9d075262 100644 --- a/.github/workflows/code-init-file-checker.yml +++ b/.github/workflows/code-init-file-checker.yml @@ -9,10 +9,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 - name: Set up Python - uses: actions/setup-python@v6 + uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6 with: python-version: "3.11" diff --git a/.github/workflows/code-linting.yml b/.github/workflows/code-linting.yml index f6372bd0e6d1..4566c83b3570 100644 --- a/.github/workflows/code-linting.yml +++ b/.github/workflows/code-linting.yml @@ -26,14 +26,14 @@ jobs: DOMAIN: ${{ matrix.domain }} steps: - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 with: fetch-depth: 0 - name: Get PR info id: get-pr-info if: startsWith(github.ref, 'refs/heads/pull-request/') - uses: nv-gha-runners/get-pr-info@main + uses: nv-gha-runners/get-pr-info@090577647b8ddc4e06e809e264f7881650ecdccf # main - name: Select filter id: filter @@ -67,7 +67,7 @@ jobs: - name: Get changed files id: changed-files - uses: step-security/changed-files@v45.0.1 + uses: step-security/changed-files@3dbe17c78367e7d60f00d78ae6781a35be47b4a1 # v45.0.1 with: sha: ${{ github.sha }} base_sha: ${{ fromJSON(steps.get-pr-info.outputs.pr-info || '{}').base.sha || github.event.pull_request.base.sha }} diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 28c060be0990..3ebc82780082 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -38,11 +38,11 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@b8d3b6e8af63cde30bdc382c0bc28114f4346c88 # v2 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -57,7 +57,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v2 + uses: github/codeql-action/autobuild@b8d3b6e8af63cde30bdc382c0bc28114f4346c88 # v2 # â„šī¸ Command-line programs to run using the OS shell. # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun @@ -70,6 +70,6 @@ jobs: # ./location_of_script_within_repo/buildscript.sh - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@b8d3b6e8af63cde30bdc382c0bc28114f4346c88 # v2 with: category: "/language:${{matrix.language}}" diff --git a/.github/workflows/community-bot.yml b/.github/workflows/community-bot.yml index 7e92e011706e..f804dd6b6d32 100644 --- a/.github/workflows/community-bot.yml +++ b/.github/workflows/community-bot.yml @@ -8,7 +8,7 @@ on: jobs: community-bot: - uses: NVIDIA-NeMo/FW-CI-templates/.github/workflows/_community_bot.yml@v0.62.0 + uses: NVIDIA-NeMo/FW-CI-templates/.github/workflows/_community_bot.yml@2f5dcae8771194aa7f1f69a2286600a6be677dc8 # v0.62.0 with: community_project_id: ${{ vars.COMMUNITY_PROJECT_ID }} secrets: diff --git a/.github/workflows/copyright-check.yml b/.github/workflows/copyright-check.yml index 36b7e6c597bf..9190a2eb1ec9 100644 --- a/.github/workflows/copyright-check.yml +++ b/.github/workflows/copyright-check.yml @@ -19,4 +19,4 @@ on: jobs: copyright-check: - uses: NVIDIA-NeMo/FW-CI-templates/.github/workflows/_copyright_check.yml@v0.2.0 + uses: NVIDIA-NeMo/FW-CI-templates/.github/workflows/_copyright_check.yml@fb76deb5479e54f22fb02a3b6619a8c33ab1184c # v0.2.0 diff --git a/.github/workflows/install-test.yml b/.github/workflows/install-test.yml index 1822f4fbf6b1..f79cb8afc3e9 100644 --- a/.github/workflows/install-test.yml +++ b/.github/workflows/install-test.yml @@ -21,7 +21,7 @@ jobs: installer: ["pip-install", "nemo-install"] steps: - name: Checkout repo - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 - name: Check disk space before cleanup run: df -h @@ -39,7 +39,7 @@ jobs: - name: Check disk space after cleanup run: df -h - - uses: actions/setup-python@v6 + - uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6 with: python-version: "${{ matrix.python }}" @@ -80,7 +80,7 @@ jobs: installer: ["pip-install", "nemo-install"] steps: - name: Checkout repo - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 - name: Check disk space before cleanup run: df -h @@ -102,7 +102,7 @@ jobs: run: df -h - name: Install Python - uses: actions/setup-python@v6 + uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6 with: python-version: ${{ matrix.python }} @@ -137,7 +137,7 @@ jobs: python: ["3.10", "3.11", "3.12"] steps: - name: Checkout repo - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 - name: Check disk space before cleanup run: df -h @@ -159,7 +159,7 @@ jobs: run: df -h - name: Install Python - uses: actions/setup-python@v6 + uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6 with: python-version: ${{ matrix.python }} @@ -186,7 +186,7 @@ jobs: installer: ["pip-install", "nemo-install"] steps: - name: Checkout repo - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 - name: Check disk space before cleanup run: df -h @@ -208,7 +208,7 @@ jobs: run: df -h - name: Install Python - uses: actions/setup-python@v6 + uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6 with: python-version: ${{ matrix.python }} @@ -243,7 +243,7 @@ jobs: python: ["3.10", "3.11", "3.12"] steps: - name: Checkout repo - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 - name: Check disk space before cleanup run: df -h @@ -265,7 +265,7 @@ jobs: run: df -h - name: Install Python - uses: actions/setup-python@v6 + uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6 with: python-version: ${{ matrix.python }} diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 680f9d187a3b..a5de3c147e49 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -9,6 +9,6 @@ jobs: pull-requests: write runs-on: ubuntu-latest steps: - - uses: actions/labeler@v4 + - uses: actions/labeler@ac9175f8a1f3625fd0d4fb234536d26811351594 # v4 with: repo-token: "${{ secrets.GITHUB_TOKEN }}" \ No newline at end of file diff --git a/.github/workflows/release-docs.yml b/.github/workflows/release-docs.yml index 65206392768e..a7f5646738cb 100644 --- a/.github/workflows/release-docs.yml +++ b/.github/workflows/release-docs.yml @@ -78,7 +78,7 @@ on: jobs: build-docs: - uses: NVIDIA-NeMo/FW-CI-templates/.github/workflows/_build_docs.yml@v0.83.0 + uses: NVIDIA-NeMo/FW-CI-templates/.github/workflows/_build_docs.yml@ccb88af2bcd7109ec01a9ddacd371bedf0780b8b # v0.83.0 with: ref: ${{ inputs.github-ref }} docs-directory: docs/source @@ -89,7 +89,7 @@ jobs: runs-on: ubuntu-latest needs: [build-docs] steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 with: repository: NVIDIA-NeMo/FW-CI-templates ref: v0.74.0 diff --git a/.github/workflows/release-freeze.yml b/.github/workflows/release-freeze.yml index 8fa63050f60a..87a2a5d5a9e8 100644 --- a/.github/workflows/release-freeze.yml +++ b/.github/workflows/release-freeze.yml @@ -26,7 +26,7 @@ on: jobs: code-freeze: - uses: NVIDIA-NeMo/FW-CI-templates/.github/workflows/_code_freeze.yml@v0.86.0 + uses: NVIDIA-NeMo/FW-CI-templates/.github/workflows/_code_freeze.yml@d37760ed20154a1d6f0d6aa0cb84a67f76ed6d38 # v0.86.0 with: library-name: NeMo-Toolkit python-package: nemo @@ -45,7 +45,7 @@ jobs: environment: main steps: - name: Checkout repository - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 with: path: ${{ github.run_id }} token: ${{ secrets.PAT }} @@ -64,7 +64,7 @@ jobs: git status - name: Create PR - uses: peter-evans/create-pull-request@v6 + uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6 id: create-pull-request if: ${{ inputs.dry-run != true }} with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 06ff4cb23c2b..df0f1a932370 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -72,7 +72,7 @@ concurrency: jobs: pre-flight: if: github.event_name != 'workflow_dispatch' - uses: NVIDIA-NeMo/FW-CI-templates/.github/workflows/_cicd_preflight.yml@v0.94.1 + uses: NVIDIA-NeMo/FW-CI-templates/.github/workflows/_cicd_preflight.yml@211c302d648552cecccec610fe796cc22a091f37 # v0.94.1 release: needs: [pre-flight] @@ -80,7 +80,7 @@ jobs: !cancelled() && !failure() && !(needs.pre-flight.outputs.docs_only == 'true' || needs.pre-flight.outputs.is_deployment_workflow == 'true') - uses: NVIDIA-NeMo/FW-CI-templates/.github/workflows/_release_library.yml@v1.4.3 + uses: NVIDIA-NeMo/FW-CI-templates/.github/workflows/_release_library.yml@f7af92c4d1caea5a58577ce4ac5314f7de1bc5d4 # v1.4.3 with: release-ref: ${{ inputs.release-ref || github.sha }} python-package: nemo diff --git a/.github/workflows/secrets-detector.yml b/.github/workflows/secrets-detector.yml index 243cf5af32c1..7decde130138 100644 --- a/.github/workflows/secrets-detector.yml +++ b/.github/workflows/secrets-detector.yml @@ -23,7 +23,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 with: fetch-depth: 0 token: ${{ secrets.NEMO_REFORMAT_TOKEN }} @@ -35,7 +35,7 @@ jobs: run: | git diff --name-only --diff-filter=d --merge-base origin/main -z | xargs -0 detect-secrets-hook --disable-plugin HexHighEntropyString --baseline .secrets.baseline - - uses: EndBug/add-and-commit@v9 + - uses: EndBug/add-and-commit@a94899bca583c204427a224a7af87c02f9b325d5 # v9 # Commit changes. Nothing is committed if no changes. if: always() with: