Skip to content

Commit b51fbea

Browse files
sbfnksbfnk-bot
andcommitted
Fix release reminder duplicate check using issues API instead of search API
Co-authored-by: sbfnk-bot <242615673+sbfnk-bot@users.noreply.github.com>
1 parent 185cbd9 commit b51fbea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release-reminders.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
7676
# Skip if there's already an open release reminder issue
7777
MONTH=$(date +'%B %Y')
78-
EXISTING=$(gh issue list --repo "$repo" --search "Release reminder in:title" --state open --json number --jq 'length' 2>/dev/null || echo "0")
78+
EXISTING=$(gh issue list --repo "$repo" --state open --json title --jq '[.[] | select(.title | test("Release reminder"))] | length' 2>/dev/null || echo "0")
7979
if [ "$EXISTING" != "0" ]; then
8080
echo " Open release reminder already exists, skipping"
8181
continue

0 commit comments

Comments
 (0)