Create labeler workflow.#2513
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
@westonruter This PR only addresses half of the issue. Could we open a separate PR for the |
| on: | ||
| pull_request_target: | ||
| types: | ||
| - opened |
There was a problem hiding this comment.
the workflow only runs on pull_request_target opened, so if a contributor pushes more commits, removes files, or changes plugin scope, labels will not update.
| - opened | |
| types: | |
| - opened | |
| - synchronize |
| pull_request_target: | ||
| types: | ||
| - opened | ||
|
|
There was a problem hiding this comment.
There is no branch filter, so this will run for PRs to any base branch.
We can limit the scope here ? @westonruter Any opinions ?
| branches: | |
| - trunk | |
| - 'release/**' | |
| - 'feature/**' |
Summary
Fixes #2484
Relevant technical choices
Using
action/labelerpinned tov6.1.0commit.The labeler config file is put directly in
.github/workflowdirectory, maybe not the best place.Use of AI Tools
I used Cursor.