We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01ee59a commit 98b51acCopy full SHA for 98b51ac
.github/workflows/test.yml
@@ -57,8 +57,19 @@ jobs:
57
58
ISSUE_NUMBERS="$ISSUE_NUMBERS $PR_ISSUES"
59
fi
60
+
61
+ # TESTING
62
+ # testing fetching issue number
63
+ PR_ISSUES=$(gh pr view "$pr_number" --json body --jq '.body' | \
64
+ grep -o 'issues/[0-9]*' | \
65
+ sed 's/issues\///')
66
+ echo " Found issues: $PR_ISSUES"
67
+ ISSUE_NUMBERS="$ISSUE_NUMBERS $PR_ISSUES"
68
69
done
70
71
72
73
# Comment on each issue found
74
echo "$ISSUE_NUMBERS" | tr ' ' '\n' | while read -r issue_number; do
75
if [ -n "$issue_number" ]; then
0 commit comments