mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-05-22 16:26:10 +00:00
Merge branch 'main' into patch-4
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user