Skip to content

Commit 87bd7f6

Browse files
authored
chore: projectOps fine grained token usage (#7423)
1 parent a9ca043 commit 87bd7f6

3 files changed

Lines changed: 13 additions & 69 deletions

File tree

.github/workflows/dev.lock.yml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/playground-org-project-update-issue.lock.yml

Lines changed: 8 additions & 62 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/playground-org-project-update-issue.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,11 @@ permissions:
1212
tools:
1313
github:
1414
toolsets: [default, projects]
15-
16-
imports:
17-
- shared/safe-output-app.md
15+
github-token: ${{ secrets.TEST_ORG_PROJECT_WRITE }} # fine-grained PAT with scopes Organizational: `Projects: Read & Write` and `Metadata: Read` and `Issues: Read & Write`
1816

1917
safe-outputs:
20-
update-project: {}
21-
18+
update-project:
19+
github-token: ${{ secrets.TEST_ORG_PROJECT_WRITE }}
2220
---
2321

2422
# Issue Updater

0 commit comments

Comments
 (0)