Update workflow
Signed-off-by: hossainemruz <hossainemruz@gmail.com>
This commit is contained in:
parent
230d61ec17
commit
6fd41542ed
1 changed files with 5 additions and 2 deletions
7
.github/workflows/project-automation-pr.yaml
vendored
7
.github/workflows/project-automation-pr.yaml
vendored
|
@ -61,12 +61,15 @@ jobs:
|
||||||
|
|
||||||
echo 'ITEM_ID='$item_id >> $GITHUB_ENV
|
echo 'ITEM_ID='$item_id >> $GITHUB_ENV
|
||||||
|
|
||||||
|
- name: Print Event Details
|
||||||
|
env:
|
||||||
|
EVENT_DETAILS: ${{ toJson(github.event) }}
|
||||||
|
run: echo "$EVENT_DETAILS"
|
||||||
|
|
||||||
- name: Set "Type" field
|
- name: Set "Type" field
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{secrets.PROJECT_AUTOMATION}}
|
GITHUB_TOKEN: ${{secrets.PROJECT_AUTOMATION}}
|
||||||
PR_EVENT_DATA: ${{ github.event.pull_request }}
|
|
||||||
run: |
|
run: |
|
||||||
env
|
|
||||||
gh api graphql -f query='
|
gh api graphql -f query='
|
||||||
mutation ($project: ID!, $item: ID!, $field: ID!, $opt_id: ID!) {
|
mutation ($project: ID!, $item: ID!, $field: ID!, $opt_id: ID!) {
|
||||||
updateProjectNextItemField(input: {
|
updateProjectNextItemField(input: {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue