Update ci.yml

This commit is contained in:
William Harrison
2025-03-06 20:01:20 +08:00
committed by GitHub
parent f7e689f192
commit dfe7a94acd
+6
View File
@@ -31,6 +31,12 @@ jobs:
if: github.event_name == 'pull_request'
run: echo "PR_AUTHOR=${{ github.event.pull_request.user.login }}" >> $GITHUB_ENV
- name: Get PR labels
if: github.event_name == 'pull_request'
run: |
LABELS=$(jq -c '[.pull_request.labels[].name]' <<< '${{ toJson(github.event) }}')
echo "PR_LABELS=$LABELS" >> $GITHUB_ENV
- name: Get changed files
if: github.event_name == 'pull_request'
run: |