blindnet-io / .github

Community health files for the @blindnet-io organization
1 stars 0 forks source link

build: update all repos at once #6

Closed nweldev closed 2 years ago

nweldev commented 2 years ago

add lists of repositories to allow updating labels in all of them in one command

Note

Running the same command in a bash script using for ${CFG} in "global" "com" (even when using a while read in instead of xargs) leaded to a 404 in github-label-sync :shrug: So next time, I'll just write a node script as I then realized this library provide a programmatic API :sweat_smile:

nweldev commented 2 years ago

@filipblnt please:

nweldev commented 2 years ago

@filipblnt Let me know if you want me to run the command again to update labels in the repos you added (it will only take me 1min) or if you want to test it on your computer.

filipblnt commented 2 years ago

Yes please, and then you can merge it straight away. I'll find the time to test it myself soon so that in the future I can do it as well.

nweldev commented 2 years ago

Just realized the 404 error in the bash script was just because I forgot to export the GHKEY variable :facepalm:

So I added the script and updated the doc accordingly. Merging directly as the new script is just a copy-paste of the command in the doc.

I also ran the script to update all labels.