Added an automatic PR labeler (#2286)
* Added an automatic PR labeler * Update .github/workflows/labeler.yaml Co-authored-by: Jan Larwig <jan@larwig.com> --------- Co-authored-by: Jan Larwig <jan@larwig.com>
This commit is contained in:
parent
48247d3e79
commit
7f6109f469
|
|
@ -0,0 +1,14 @@
|
||||||
|
go:
|
||||||
|
- changed-files: '**/*.go'
|
||||||
|
|
||||||
|
docs:
|
||||||
|
- changed-files: 'docs/**/*'
|
||||||
|
|
||||||
|
changelog:
|
||||||
|
- changed-files: 'CHANGELOG.md'
|
||||||
|
|
||||||
|
tests:
|
||||||
|
- changed-files: '**/*_test.go'
|
||||||
|
|
||||||
|
provider:
|
||||||
|
- changed-files: 'providers/**/*'
|
||||||
|
|
@ -0,0 +1,14 @@
|
||||||
|
name: "Pull Request Labeler"
|
||||||
|
on:
|
||||||
|
pull_request_target:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
triage:
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
pull-requests: write
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/labeler@v5
|
||||||
|
with:
|
||||||
|
sync-labels: true
|
||||||
Loading…
Reference in New Issue