Skip to content

Commit 1acc3aa

Browse files
committed
try with new PAT
1 parent 67b61dc commit 1acc3aa

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/labels.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,3 @@ labels:
5454
- name: "Safety Concern"
5555
color: "#FBCA04"
5656
description: "This poses a safety risk"
57-

.github/workflows/update-labels.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ jobs:
2929
run: |
3030
ORGANIZATION="queens-autodrive"
3131
RESPONSE=$(curl -s \
32-
-H "Authorization: token $SELF_RUNNER_PAC" \
32+
-H "Authorization: token $LABELS_PAT" \
3333
"https://api.github.com/orgs/$ORGANIZATION/repos?per_page=100")
3434
echo "API Response: $RESPONSE"
3535
REPOS=$(echo "$RESPONSE" | jq -r '.[].name')
3636
echo "REPOS=$REPOS" >> $GITHUB_ENV
3737
- name: Update Labels for All Repos
3838
env:
39-
SELF_RUNNER_PAC: ${{ secrets.SELF_RUNNER_PAC }} # GitHub token for authentication
39+
LABELS_PAT: ${{ secrets.LABELS_PAT }} # GitHub token for authentication
4040
run: |
4141
LABELS=$(cat .github/labels.yml) # Path to your labels configuration file
4242

0 commit comments

Comments
 (0)