Dispatch workflow is not updating all repositories
Open
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 24
- Forks
- 11
- Avg merge
- 13h 22m
- Merged PRs (30d)
- 15
Description
- The search is limited to 100 per page and only checks the first page, but our org contains 260+ repos in the meantime
- When asking for per_page=100 you get back 21 entries, running it again gives 69, then 37, ... Even with
&order=asc&sort=indexed"on the search the results are "random".
The second point makes me wonder, if we would be better of, looping over our org and then manually checking each repo for the file
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the dispatch workflow and reviewing how it searches the organization’s repositories, including pagination and result ordering. Determine how all repositories can be checked reliably; done means the workflow updates every applicable repository rather than only the first search page.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github, github-actions
- Domain
- api, ci-cd
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100