From ec681d2cd6f1681e0d66c34f1277093efa1c0add Mon Sep 17 00:00:00 2001 From: atalman Date: Fri, 12 Jun 2026 07:32:40 -0700 Subject: [PATCH] Remove validate-quick-start-module workflow and the create-issue step Two cleanups to the quick start workflows: - Delete .github/workflows/validate-quick-start-module.yml. The validation is no longer needed here. - Drop the "Create Issue if failed" step from update-quick-start-module.yml. It used dacbd/create-issue-action@main -- an unpinned third-party action pinned to a mutable branch -- and handed it the long-lived PYTORCHBOT_TOKEN PAT, which is broader than issue creation needs. Removing the step is the simplest fix and eliminates the supply-chain exposure; the workflow's failure is still visible from the scheduled run's status. This PR was authored with the assistance of an AI coding assistant. --- .../workflows/update-quick-start-module.yml | 9 ------ .../workflows/validate-quick-start-module.yml | 31 ------------------- 2 files changed, 40 deletions(-) delete mode 100644 .github/workflows/validate-quick-start-module.yml diff --git a/.github/workflows/update-quick-start-module.yml b/.github/workflows/update-quick-start-module.yml index 7c619b802bc8..08d14037f465 100644 --- a/.github/workflows/update-quick-start-module.yml +++ b/.github/workflows/update-quick-start-module.yml @@ -104,15 +104,6 @@ jobs: printf '%s\n' "$MACOS_RELEASE_MATRIX" > macos_release_matrix.json python3 ./scripts/gen_quick_start_module.py --autogenerate > assets/quick-start-module.js rm *_matrix.json - - name: Create Issue if failed - uses: dacbd/create-issue-action@main - if: ${{ failure() }} # only run when this job is failed. - with: - title: Updating quick start module failed - token: ${{secrets.PYTORCHBOT_TOKEN}} - assignees: ${{github.actor}} - labels: bug - body: Updating quick start module failed, please fix update quick start module - name: Create Pull Request uses: peter-evans/create-pull-request@v3 with: diff --git a/.github/workflows/validate-quick-start-module.yml b/.github/workflows/validate-quick-start-module.yml deleted file mode 100644 index 2813be181d01..000000000000 --- a/.github/workflows/validate-quick-start-module.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: Validate quick start module -on: - pull_request: - branches: - site - paths: - - published_versions.json - - assets/quick-start-module.js - - .github/workflows/validate-quick-start-module.yml - push: - branches: - site - paths: - - published_versions.json - - assets/quick-start-module.js - - .github/workflows/validate-quick-start-module.yml - workflow_dispatch: - -jobs: - validate-nightly-binaries: - uses: pytorch/test-infra/.github/workflows/validate-binaries.yml@main - with: - os: all - channel: "nightly" - validate-release-binaries: - if: always() - uses: pytorch/test-infra/.github/workflows/validate-binaries.yml@main - needs: validate-nightly-binaries - with: - os: all - channel: "release"