silverstripe / module-standardiser

Tool that standardises some files in Silverstripe modules
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

FIX Init array, use $oldName, add REPOS_EXCLUDE, check if label exists before rename #30

Closed emteknetnz closed 7 months ago

emteknetnz commented 7 months ago

Issue https://github.com/silverstripe/.github/issues/154

Need to init the array to prevent an error if no repos were matched using --only / --exclude falgs

Use $oldName so that the correct URL is used when rewriting an old label

Add REPOS_EXCLUDE which has some repos that should never have their labels updated