diff options
| author | hathach <[email protected]> | 2026-06-04 13:06:13 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2026-06-04 13:06:13 +0700 |
| commit | 10e57012078f68752699e896478bcf3d99dc391c (patch) | |
| tree | f65d6db87720ff93d6fe8f9697d3274c7e174469 /.github | |
| parent | c86fea62e72e0b75a42245b2200763922e2baaa7 (diff) | |
ci(sponsor-triage): select PullRequest id in search results
The search drops is:issue to include PRs, but the GraphQL selection only
had '... on Issue { id }', so PR nodes returned no id and were skipped.
Add '... on PullRequest { id }'. (Codex/Copilot review finding.)
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/sponsor-triage.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/sponsor-triage.yml b/.github/workflows/sponsor-triage.yml index 1e7d39028..728503532 100644 --- a/.github/workflows/sponsor-triage.yml +++ b/.github/workflows/sponsor-triage.yml @@ -121,7 +121,7 @@ jobs: const res = await github.graphql(` query($q: String!) { search(query: $q, type: ISSUE, first: 100) { - nodes { ... on Issue { id } } + nodes { ... on Issue { id } ... on PullRequest { id } } } }`, { q }); for (const node of res.search.nodes) { |
