mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-05-14 06:58:57 +00:00
Update ci.yml
This commit is contained in:
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user