Skip to content

Commit

Permalink
Test GH Workflow - Mark Under Review- Attempt node-red#5
Browse files Browse the repository at this point in the history
  • Loading branch information
joepavitt committed Mar 26, 2024
1 parent f3755bf commit b41b918
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/record-in-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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

0 comments on commit b41b918

Please sign in to comment.