From e654f3185337dfc84aaa1eac04cd49fd4548e7e5 Mon Sep 17 00:00:00 2001 From: Nikhil Viswanath Sivakumar <68182521+nil-is-all@users.noreply.github.com> Date: Tue, 12 Aug 2025 14:08:25 -0500 Subject: [PATCH 1/2] removed cron schedule runs until the github token issue is fixed --- .github/workflows/add-unanswered-to-project.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/add-unanswered-to-project.yml b/.github/workflows/add-unanswered-to-project.yml index 565672a0b22..1297cb0c0aa 100644 --- a/.github/workflows/add-unanswered-to-project.yml +++ b/.github/workflows/add-unanswered-to-project.yml @@ -1,8 +1,8 @@ name: Add Open External Contributor PRs and Issues to PyTorch Org Project 136 on: - schedule: - - cron: '0 * * * *' + # schedule: + # - cron: '0 * * * *' workflow_dispatch: jobs: From 93aa366176eab55ab83d13be3833a9e3638c9a1e Mon Sep 17 00:00:00 2001 From: Nikhil Viswanath Sivakumar <68182521+nil-is-all@users.noreply.github.com> Date: Tue, 12 Aug 2025 14:27:58 -0500 Subject: [PATCH 2/2] Changed github-token: ${{ secrets.GITHUB_TOKEN }} earlier version had github-token: ${{ secrets.PYTORCH_PROJECT_PAT }} --- .github/workflows/add-unanswered-to-project.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/add-unanswered-to-project.yml b/.github/workflows/add-unanswered-to-project.yml index 1297cb0c0aa..04e4ff83ab8 100644 --- a/.github/workflows/add-unanswered-to-project.yml +++ b/.github/workflows/add-unanswered-to-project.yml @@ -12,7 +12,7 @@ jobs: - name: Add open issues and open, non-draft PRs to org project (excluding certain authors) uses: actions/github-script@v7 with: - github-token: ${{ secrets.PYTORCH_PROJECT_PAT }} + github-token: ${{ secrets.GITHUB_TOKEN }} script: | const projectId = "PVT_kwDOAUB9vs4A_PUL"; // PyTorch org project 136 const owner = 'pytorch';