File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -54,4 +54,3 @@ labels:
5454 - name : " Safety Concern"
5555 color : " #FBCA04"
5656 description : " This poses a safety risk"
57-
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments