github-sync
github-sync copied to clipboard
Syncing breaks if more than ~ 30 labels exist in a repo
Steps to repro:
- Create a blank repo
- Load in 20 labels
- Sync to another repo
- Add 15 more labels
- Sync again to same repo
Expected
- 35 labels exist in destination repository
Actual:
- Script attempts to remove ~ some labels instead of syncing all
Not sure on the exact ceiling of the number of labels or if that's the problem, but can reproduce this behavior now and I am trying to sync about 33 labels to 8-9 other repos.
It somehow is missing some of the labels when determining what needs to be added and deleted so some are added correctly, but others are removed incorrectly.