TimonVS / pr-labeler-action

Automatically labels your PRs based on branch name patterns like feature/* or fix/*.
MIT License
244 stars 53 forks source link

Not working with .github repository in organization #31

Open matrixik opened 4 years ago

matrixik commented 4 years ago

Hello, thank you for working on this useful action.

I would like to report that it's not working with repository called .github that is owned by an organization. More info: https://help.github.com/en/github/building-a-strong-community/creating-a-default-community-health-file

Basically: I would like to be able instead of creating .github/pr-labeler.yml file separately in every repository in specific organization/user to add it only once to .github repository and it would be used automatically by every other repository that have pr-labeler action installed.

Example: I added global file: https://github.com/gosimple/.github/blob/master/.github/pr-labeler.yml And would like to be used automatically in https://github.com/gosimple/spinner repo (.github/workflows/pr-labeler.yml added).

Release drafter (https://github.com/marketplace/actions/release-drafter) is supporting this.

https://probot.github.io/docs/best-practices/#store-configuration-in-the-repository I don't even use _extends functionality. I have gosimple/spinner/.github/workflows/release-drafter.yml and global configuration for it in: gosimple/.github/.github/release-drafter.yml and it's working fine.

TimonVS commented 2 years ago

Great suggestion, I will look into this.

ronald-cognite commented 2 years ago

I'm also running into this. It would be great if it was possible to use the action in our internal repos. All the actions finish without errors, but labels are not added

Screenshot 2021-12-20 at 20 56 28

.

violetaStoka commented 8 months ago

Hello!! Is there any progress on this issue ? @TimonVS