Update workflow

Signed-off-by: hossainemruz <hossainemruz@gmail.com>
This commit is contained in:
hossainemruz 2021-11-02 00:17:45 +06:00
parent fe70ae7a8e
commit 191620b789
2 changed files with 2 additions and 4 deletions

View file

@ -7,7 +7,6 @@ on:
- closed - closed
- labeled - labeled
- unlabeled - unlabeled
- connected
jobs: jobs:
issue_automation: issue_automation:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -73,7 +72,7 @@ jobs:
env: env:
ISSUE_DATA: ${{ toJson(github.event.issue) }} ISSUE_DATA: ${{ toJson(github.event.issue) }}
run: | run: |
echo 'LABELS=$(echo "$PR_DATA" | jq -r '[.labels[].name] | join(\" \")')' >> $GITHUB_ENV echo 'LABELS='$(echo "$PR_DATA" | jq -r '[.labels[].name] | join(" ")') >> $GITHUB_ENV
- name: Set "Type" field - name: Set "Type" field
env: env:

View file

@ -9,7 +9,6 @@ on:
- closed - closed
- labeled - labeled
- unlabeled - unlabeled
- connected
jobs: jobs:
pr_automation: pr_automation:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -75,7 +74,7 @@ jobs:
env: env:
PR_DATA: ${{ toJson(github.event.pull_request) }} PR_DATA: ${{ toJson(github.event.pull_request) }}
run: | run: |
echo 'LABELS=$(echo "$PR_DATA" | jq -r '[.labels[].name] | join(\" \")')' >> $GITHUB_ENV echo 'LABELS='$(echo "$PR_DATA" | jq -r '[.labels[].name] | join(" ")') >> $GITHUB_ENV
- name: Set "Type" field - name: Set "Type" field
env: env: