Skip to content

Commit 18d7873

Browse files
committed
build: limit issue extraction to stdlib-js/stdlib repo
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: passed - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 80c12e7 commit 18d7873

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/scripts/check_duplicate_prs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,12 @@ github_api() {
8989
fi
9090
}
9191

92-
# Extracts issue numbers from PR body that are being resolved/closed.
92+
# Extracts issue numbers resolved/closed in PRs for stdlib-js/stdlib.
9393
#
9494
# $1 - PR body text
9595
extract_resolved_issues() {
9696
local body="$1"
97-
echo "$body" | grep -Eio "(resolves|closes|close|fix|fixes|fixed|resolve)[[:space:]]*(#[0-9]+|https?://github\.com/[^/]+/[^/]+/issues/[0-9]+)" |
97+
echo "$body" | grep -Eio "(resolves|closes|close|fix|fixes|fixed|resolve)[[:space:]]*(#[0-9]+|https?://github\.com/stdlib-js/stdlib/issues/[0-9]+)" |
9898
grep -Eo "([0-9]+)$" | sort -u
9999
}
100100

0 commit comments

Comments
 (0)