ghaction-github-labeler icon indicating copy to clipboard operation
ghaction-github-labeler copied to clipboard

Support central location for labels

Open ssbarnea opened this issue 6 years ago • 6 comments

Instead of having to store labels inside each repository, it would be great if we can use a URL to point it to a centralized location where these could be loaded from.

ssbarnea avatar Oct 25 '19 14:10 ssbarnea

@ssbarnea Nice idea, could be done with #3

crazy-max avatar Oct 25 '19 15:10 crazy-max

@ssbarnea But since the file would no longer be in the repository, there would be no way to trigger the build. This is therefore not feasible until GitHub has introduced the addition of custom triggers or manual build triggering.

crazy-max avatar Dec 13 '19 18:12 crazy-max

Wouldn't a github action with cron expression / manual dispatch suffice?

inside the org's .github repo one could create a repository dispatch job for all the repos using the central labels with the help of this action https://github.com/marketplace/actions/repository-dispatch

jetersen avatar Jan 04 '21 20:01 jetersen

FYI, remote label definitions are supported by julb/action-manage-label.

kdeldycke avatar Jan 05 '22 18:01 kdeldycke