Update workflow
Signed-off-by: hossainemruz <hossainemruz@gmail.com>
This commit is contained in:
parent
d8f04ad124
commit
0bcbdef32a
1 changed files with 4 additions and 3 deletions
7
.github/workflows/project-automation-pr.yaml
vendored
7
.github/workflows/project-automation-pr.yaml
vendored
|
@ -62,10 +62,11 @@ jobs:
|
||||||
echo 'ITEM_ID='$item_id >> $GITHUB_ENV
|
echo 'ITEM_ID='$item_id >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Print Labels
|
- name: Print Labels
|
||||||
|
env:
|
||||||
|
PR_DATA: ${{ toJson(github.event.pull_request) }}
|
||||||
run: |
|
run: |
|
||||||
echo '${{github.event.pull_request}}' > pr_data.json
|
LABELS=$(${PR_DATA} | jq '.labels[]' | jq -r '.name')
|
||||||
cat pr_data.json
|
echo "$LABELS"
|
||||||
echo '$(jq -r '.pull_request.labels[] | .name' pr_data.json)'
|
|
||||||
|
|
||||||
- name: Set "Type" field
|
- name: Set "Type" field
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue