pr-labeler-action icon indicating copy to clipboard operation
pr-labeler-action copied to clipboard

Not working with .github repository in organization

Open matrixik opened this issue 4 years ago • 3 comments

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.

matrixik avatar Jun 25 '20 21:06 matrixik

Great suggestion, I will look into this.

TimonVS avatar Nov 19 '21 13:11 TimonVS

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 .

ronald-cognite avatar Dec 20 '21 19:12 ronald-cognite

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

violetaStoka avatar Jan 10 '24 15:01 violetaStoka