Prow github actions expects the file .prowlabels.yaml
to be in the root of the project.
This is needed for most labeling commands and jobs.
All of the following examples can be placed simultaneously in the .prowlabels.yaml
file.
area:
- bug
- important
With the command /area bug
,
the issue or PR will be labeled with area/bug
kind:
- failing-test
- cleanup
With the command /kind cleanup
,
the issue or PR will be labeled with kind/cleanup
priority:
- low
- high
With the command /priority low
,
the issue or PR will be labeled with priority/low
To automatically label PRs based on file globs, it's recommended to use the
GitHub actions/labeler
workflow.
The Digital Ocean Glob Tool
can be helpful when specifying and building file globs.