Merge branch 'main' into patch-4

This commit is contained in:
William Harrison
2025-03-06 20:26:57 +08:00
committed by GitHub
+1 -1
View File
@@ -37,7 +37,7 @@ jobs:
- name: Get PR labels
if: github.event_name == 'pull_request'
run: |
LABELS=$(jq -c '[.pull_request.labels[].name]' <<< '${{ toJson(github.event) }}')
LABELS=$(gh api --jq '[.labels[].name]' /repos/{owner}/{repo}/pulls/${{ github.event.number }})
echo "PR_LABELS=$LABELS" >> $GITHUB_ENV
- name: Get changed files