Skip to content

Fix approving the workflow runs of pull requests - #321

Merged
nicolas-grekas merged 1 commit into
masterfrom
approve-workflow-runs
Oct 28, 2026
Merged

nicolas-grekas merged 1 commit into
masterfrom
approve-workflow-runs

Conversation

@nicolas-grekas

Copy link
Copy Markdown
Contributor

Found while looking into #257.

The workflow runs API returns {"total_count": ..., "workflow_runs": [...]} and ResultPager only unwraps items. So Carson looped over total_count and the list of runs instead of the runs themselves. It never approved a run, and it logged the warnings fabpot quoted in #257 (comment).

@nicolas-grekas
nicolas-grekas merged commit 77ab07a into master Oct 28, 2026
4 checks passed
@nicolas-grekas
nicolas-grekas deleted the approve-workflow-runs branch October 28, 2026 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant