Fix MAX_OPEN_PRS gate failing with exit code 4 when no matching PRs exist#346
Fix MAX_OPEN_PRS gate failing with exit code 4 when no matching PRs exist#346Copilot wants to merge 3 commits into
Conversation
…xist Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
|
@copilot recompile with latest release of gh aw |
Unable to upgrade Could you run |
|
@copilot revert lock files |
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Done — reverted the 4 lock files in bc69edd back to their pre-PR state. |
gh pr list --searchexits with code 4 when no results are found. Underbash -e, this aborts thepre_activationstep beforeCOUNTis even assigned — causing every scheduled run to fail on repos where none of the agent's PRs are open.Changes
adhoc-qa,efficiency-improver,glossary-maintainer,perf-improver,test-improver): add2>/dev/null || echo 0fallback to thegh pr listcommand substitutionZero matching PRs is exactly the case where the workflow should run — this restores that invariant.