From ff84a746c85d9f1baa0e1bc920ffe76b7e5e38df Mon Sep 17 00:00:00 2001 From: Jakub Trllo Date: Wed, 7 Oct 2026 12:43:52 +0000 Subject: [PATCH] Raise gh pr list limit to 1000 gh pr list returns only 30 results by default, so older PRs merged since the last release were ignored when calculating the version bump and changelog (e.g. ayon-core #1879 'bump minor' was missed). Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01CJVPWKroiwjMkDgF9UPn4X --- action.yml | 2 +- src/queries.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 8732c18..e08c3d0 100644 --- a/action.yml +++ b/action.yml @@ -49,7 +49,7 @@ runs: id: raw-output shell: bash run: | - raw_output=$(gh pr list --state merged --search 'merged:>=${{ inputs.date }}' --json ${{ inputs.query_parameters }} --repo ${{ inputs.repo }}) + raw_output=$(gh pr list --state merged --search 'merged:>=${{ inputs.date }}' --limit 1000 --json ${{ inputs.query_parameters }} --repo ${{ inputs.repo }}) if [[ "$raw_output" == '[]' ]]; then echo "raw_output=''" >> $GITHUB_OUTPUT exit 0 diff --git a/src/queries.py b/src/queries.py index 44e2fd3..d9d945f 100644 --- a/src/queries.py +++ b/src/queries.py @@ -21,6 +21,7 @@ def query_merged_prs(latest_release_date: str, query_tags: list[str], base_branc "--state", "merged", "--base", base_branch, "--search", f'merged:>={latest_release_date}', + "--limit", "1000", "--json", ','.join(query_tags), "--repo", repo_name ],