nextcloud / nextcloud/.github

Dispatch workflow is not updating all repositories

Open
#76 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
24
Forks
11
Avg merge
13h 22m
Merged PRs (30d)
15

Description

  1. The search is limited to 100 per page and only checks the first page, but our org contains 260+ repos in the meantime
  2. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.