mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-10-15 16:14:52 +00:00
Update ci.yml
This commit is contained in:
1 parent
f7e689f192
commit
dfe7a94acd
1 file changed
+6
@@ -31,6 +31,12 @@ jobs:
|
|||||||
if: github.event_name == 'pull_request'
|
if: github.event_name == 'pull_request'
|
||||||
run: echo "PR_AUTHOR=${{ github.event.pull_request.user.login }}" >> $GITHUB_ENV
|
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
|
- name: Get changed files
|
||||||
if: github.event_name == 'pull_request'
|
if: github.event_name == 'pull_request'
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in new issue
Block a user