Skip to content

Commit 57977bb

Browse files
ShenaoWehedlund
andauthored
Fix: fix the contradictory issue search query in gemini-scheduled-triage (#500)
Fixes #499. This PR fixes the contradictory search query used by `gemini-scheduled-triage` when collecting issues to triage. ### What changed Updated the query from: `no:label label:"status/needs-triage"` to: `no:label OR label:"status/needs-triage"` in both: - `.github/workflows/gemini-scheduled-triage.yml` - `examples/workflows/issue-triage/gemini-scheduled-triage.yml` Co-authored-by: Emily Hedlund <ehedlund@google.com>
1 parent 306fe62 commit 57977bb

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/gemini-scheduled-triage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
echo '🔍 Finding unlabeled issues and issues marked for triage...'
7474
ISSUES="$(gh issue list \
7575
--state 'open' \
76-
--search 'no:label label:"status/needs-triage"' \
76+
--search 'no:label OR label:"status/needs-triage"' \
7777
--json number,title,body \
7878
--limit '100' \
7979
--repo "${GITHUB_REPOSITORY}"

examples/workflows/issue-triage/gemini-scheduled-triage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
echo '🔍 Finding unlabeled issues and issues marked for triage...'
7474
ISSUES="$(gh issue list \
7575
--state 'open' \
76-
--search 'no:label label:"status/needs-triage"' \
76+
--search 'no:label OR label:"status/needs-triage"' \
7777
--json number,title,body \
7878
--limit '100' \
7979
--repo "${GITHUB_REPOSITORY}"

0 commit comments

Comments
 (0)