From b41b9186d30610d67cbc637b4f503f8bc7a5b6f5 Mon Sep 17 00:00:00 2001 From: Joe Pavitt Date: Tue, 26 Mar 2024 16:30:36 +0000 Subject: [PATCH] Test GH Workflow - Mark Under Review- Attempt #5 --- .github/workflows/record-in-review.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/record-in-review.yml b/.github/workflows/record-in-review.yml index 70fe85889c..9eaae184ab 100644 --- a/.github/workflows/record-in-review.yml +++ b/.github/workflows/record-in-review.yml @@ -19,8 +19,12 @@ jobs: run: | echo "GH_TOKEN:" echo "$GH_TOKEN" + echo "PR_ID:" + echo "$PR_ID" linked_issues="$( gh api graphql -f query=' - query($pr:ID!) { + query( + $pr: ID! + ) { node(id: $pr) { ... on PullRequest { closingIssuesReferences(first:5, userLinkedOnly:false) { @@ -39,7 +43,5 @@ jobs: }' -f pr=$PR_ID --jq '.data.node.closingIssuesReferences.nodes[0].projectItems.nodes[0].id')" echo "ISSUE IDs:" echo "$linked_issues" - echo "PR_ID:" - echo "${{env.PR_ID}}" echo "LINKED_ISSUE_ID=$linked_issue_id" >> $GITHUB_ENV \ No newline at end of file