Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion security/metrics/pr_review_comments.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ fetch_api() {
for REPO in "${REPOSITORIES[@]}"; do
echo "Processing repository: $REPO..."

PR_LIST=$(gh pr list -R "$REPO" --state all --limit 1000 --json number 2>/dev/null) || {
PR_LIST=$(gh pr list -R "$REPO" --state all --limit 1000 \
--search "updated:${START_DATE}..${END_DATE}" \
--json number 2>/dev/null) || {
echo "WARNING: Skipping $REPO: Failed to fetch PR list."
continue
}
Expand Down