Skip to content

Commit 668e730

Browse files
authored
Update add-unanswered-to-project.yml to include github-token with necessary permissions (#14637)
Created a Fine-grained Personalized-Access Token (PAT), with the following permissions: Read & write for Projects under Org permissions Under repository permissions: Read access to Dependabot alerts, code, commit statuses, discussions, issues, merge queues, metadata, and pull requests Read and Write access to actions and workflows Saved it as a secret named ET_EXT_CONTRIB
1 parent ac2c073 commit 668e730

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/add-unanswered-to-project.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
- name: Add open issues and open, non-draft PRs to org project (excluding certain authors)
1313
uses: actions/github-script@v7
1414
with:
15+
github-token: ${{ secrets.ET_EXT_CONTRIB }}
1516
script: |
1617
const projectId = "PVT_kwDOAUB9vs4A_PUL"; // PyTorch org project 136
1718
const owner = 'pytorch';

0 commit comments

Comments
 (0)