fix token issue

This commit is contained in:
William Harrison
2025-03-06 20:28:25 +08:00
committed by GitHub
parent 840f6c2ed5
commit 1d0db3ee21
+2
View File
@@ -39,6 +39,8 @@ jobs:
run: |
LABELS=$(gh api --jq '[.labels[].name]' /repos/{owner}/{repo}/pulls/${{ github.event.number }})
echo "PR_LABELS=$LABELS" >> $GITHUB_ENV
env:
GH_TOKEN: ${{ github.token }}
- name: Get changed files
if: github.event_name == 'pull_request'