Skip to content

Commit 98b51ac

Browse files
committed
add testing block
1 parent 01ee59a commit 98b51ac

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/test.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,19 @@ jobs:
5757

5858
ISSUE_NUMBERS="$ISSUE_NUMBERS $PR_ISSUES"
5959
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+
6069
done
6170

71+
72+
6273
# Comment on each issue found
6374
echo "$ISSUE_NUMBERS" | tr ' ' '\n' | while read -r issue_number; do
6475
if [ -n "$issue_number" ]; then

0 commit comments

Comments
 (0)