Skip to content

Commit

Permalink
Test GH Workflow - Mark Under Review - Attempt node-red#13
Browse files Browse the repository at this point in the history
  • Loading branch information
joepavitt committed Mar 27, 2024
1 parent 4cff087 commit 8a5c252
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/record-in-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,19 @@ jobs:
totalCount
nodes {
id
projectItems (first:5) {
nodes {
id
project {
id
}
}
}
}
}
}
}' -f pr=$PR_ID --jq '.data.node.closingIssuesReferences.nodes')"
echo "jq length linked_issues"
echo "ISSUE IDs:"
echo "$linked_issues"
echo "LINKED_ISSUE_IDs=$linked_issues" >> $GITHUB_ENV
Expand All @@ -63,6 +69,7 @@ jobs:
STATUS_FIELD_ID: PVTSSF_lAHOBepif84AfH1xzgUjmnw
UNDER_REVIEW_OPTION_ID: 5fce39d2
run: |
items_ids = echo '${{ env.LINKED_ISSUE_IDs }}' | jq map(select(.projectItems.nodes[].project.id == $PROJECT_ID)) | jq -r '.[] | .id'
echo '${{ env.LINKED_ISSUE_IDs }}' | jq -r '.[] | .id' | while read ISSUE_ID; do
echo "ISSUE_ID=$ISSUE_ID"
updatedAt="$( gh api graphql -f query='
Expand Down

0 comments on commit 8a5c252

Please sign in to comment.