update workflow

Signed-off-by: hossainemruz <hossainemruz@gmail.com>
This commit is contained in:
hossainemruz 2021-11-05 02:00:37 +06:00
parent a80bc56868
commit 5bd79de03b

View file

@ -179,12 +179,12 @@ jobs:
env:
GITHUB_TOKEN: ${{secrets.PROJECT_AUTOMATION}}
run: |
item_id="$( gh api graphql -f query='
repository(owner:$owner, name:$name) {
item_id="$( gh api graphql -f query='{
repository(owner: $owner, name: $name) {
issue(number: $issue_number) {
id
}
}' -f owner="hugo-toha" -f name="toha" -f issue_number="459")"
}}' -f owner="hugo-toha" -f name="toha" -f issue_number="459" --jq='.data.repository.issue.id')"
echo 'ISSUE_ID='$item_id >> $GITHUB_ENV
echo "Issue ID: $ISSUE_ID"