Pull Request Labeler #25843
-
Hello, I want to use new actions to automatically label my PRs as described here: https://github.com/actions/labeler/blob/master/README.md So I added https://github.com/sandreenko/coreclr/blob/master/.github/labeler.yml file with: area-CodeGen:
that in my understanding should apply and I created a simple PR to test that: sandreenko/coreclr#17 but no label was applied, could somebody tell me what I am doing wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Your workflow needs to be in the Thanks, Chris |
Beta Was this translation helpful? Give feedback.
-
Hi Chris, thanks for your reply. Does it mean that https://github.com/actions/labeler/blob/master/README.md this part(Basic Examples and Common Examples) is not working? I did not want to utilize any machines for that. |
Beta Was this translation helpful? Give feedback.
-
The examples are fine, they configure the action as explained. But, you still need to add an actual workflow to your project, as described in the second half of the README. Without it, GitHub does not automagically start running the action, you need to explicitly enable the workflow. |
Beta Was this translation helpful? Give feedback.
-
The Labeller won’t work for any Pull Requests coming from the forked repository and this issue is discussed here. |
Beta Was this translation helpful? Give feedback.
The examples are fine, they configure the action as explained. But, you still need to add an actual workflow to your project, as described in the second half of the README. Without it, GitHub does not automagically start running the action, you need to explicitly enable the workflow.