mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-10-17 10:14:32 +00:00
Merge branch 'main' into patch-4
This commit is contained in:
1 file changed
+1
-1
@@ -37,7 +37,7 @@ jobs:
|
|||||||
- name: Get PR labels
|
- name: Get PR labels
|
||||||
if: github.event_name == 'pull_request'
|
if: github.event_name == 'pull_request'
|
||||||
run: |
|
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
|
echo "PR_LABELS=$LABELS" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Get changed files
|
- name: Get changed files
|
||||||
|
|||||||
Reference in new issue
Block a user