File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
.github/workflows/scripts Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -227,10 +227,12 @@ main() {
227227 keywords_pattern=$( IFS=' |' ; echo " ${closing_keywords[*]} " )
228228
229229 for issue in $issue_numbers ; do
230+ # Fetch issue details:
230231 issue_details=$( github_api " GET" " /repos/$REPO_OWNER /$REPO_NAME /issues/$issue " )
231232 issue_title=$( echo " $issue_details " | jq -r ' .title' )
232233 issue_labels=$( echo " $issue_details " | jq -r ' .labels[].name' )
233234
235+ # Check if the issue is a tracking issue:
234236 if echo " $issue_title " | grep -q " (tracking issue)" || echo " $issue_labels " | grep -q " Tracking Issue" ; then
235237 ref_issues+=" Ref: https://github.com/$REPO_OWNER /$REPO_NAME /issues/$issue \n"
236238 elif echo " $pr_body " | grep -Eiq " (${keywords_pattern} )([[:space:]]+|:)[[:space:]]*#${issue} \b" ; then
You can’t perform that action at this time.
0 commit comments