summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorsricker-nvidia <115114531+sricker-nvidia@users.noreply.github.com>2025-04-14 17:10:53 -0700
committerGitHub <noreply@github.com>2025-04-14 17:10:53 -0700
commitc1d1e37c975f1800325bf28619db71fa762e1f1d (patch)
tree1141226b5ac6cc4753e5c2947e4b2b00884939e2 /.github/workflows
parent705d00ab8528e0d7c14f68b7d0e15fb57280c16e (diff)
Update the access tokens used for auto labeling CI (#6811)
The auto labeling CI has been failing as a result of the SLANGBOT_PAT token not having all of the necessary permissions. Change updates the tokens used for requests to use new tokens that were created with the specific permissions needed for the operations in this CI workflow.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/add-issue-labels.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/add-issue-labels.yml b/.github/workflows/add-issue-labels.yml
index cd0189443..5dfd843cc 100644
--- a/.github/workflows/add-issue-labels.yml
+++ b/.github/workflows/add-issue-labels.yml
@@ -21,7 +21,7 @@ jobs:
id: check_team
uses: actions/github-script@v7
with:
- github-token: ${{ secrets.SLANGBOT_PAT }}
+ github-token: ${{ secrets.SLANGBOT_MEMBERS_READONLY }}
script: |
const response = await github.rest.teams.listMembersInOrg({
org: 'shader-slang',
@@ -46,7 +46,7 @@ jobs:
if: steps.check_team.outputs.is_team_member == 'true'
uses: actions/github-script@v7
with:
- github-token: ${{ secrets.SLANGBOT_PAT }}
+ github-token: ${{ secrets.SLANGBOT_ISSUES_WRITE }}
script: |
// Only add label if this is a real issue and not a test run
if (context.eventName === 'issues') {