You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a fork PR is opened the workflow runs but creates a label from the branch name and not the label configured.
Ex - branch name "feature/what-ever" is creating a label "feature" and should be creating the label "dev" instead.
Also a separate question for pr-labeler and reusable-workflows.
Is there an option to have everything for pr-labeler to reside in one file and move the configuration "labels" in to the workflow itself to make it easier to re-use the workflow. Having issues along the same here on normal pull requests and the configuration-path is not getting pulled in and skipping, then creating a label base on the open branch name.
Thanks for any insight here, we use the pr-labeler in 34 repositories
The text was updated successfully, but these errors were encountered:
@JeffGreiner-eaton looking at the code, the action is pulling config from the context of where the action is running. I believe because the action runs as part of the parent repository (not the fork) the configuration is being pulled from the parent context.
Can you explain your forking logic? Are you forking public repos into private organizations to maintain changes yourself?
It might be possible to pass a different reference location for the config using the with parameters, but I'd need to investigate a bit further.
We are currently using the default setup for pr-labeler with the exception of using (pull_request_target).
here is the file
and the config file located in root of .github is this file
When a fork PR is opened the workflow runs but creates a label from the branch name and not the label configured.
Ex - branch name "feature/what-ever" is creating a label "feature" and should be creating the label "dev" instead.
Also a separate question for pr-labeler and reusable-workflows.
Is there an option to have everything for pr-labeler to reside in one file and move the configuration "labels" in to the workflow itself to make it easier to re-use the workflow. Having issues along the same here on normal pull requests and the configuration-path is not getting pulled in and skipping, then creating a label base on the open branch name.
Thanks for any insight here, we use the pr-labeler in 34 repositories
The text was updated successfully, but these errors were encountered: