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>
commit7f6109f4697268e1cbc89e1214ace519be4cbccd
authorKoen van Zuijlen <8818390+kvanzuijlen@users.noreply.github.com>
dateWed 25 Oct 2023, 12:37 (3 years ago)
parent48247d3
.github/labeler.ymlnew file+14
@@ -0,0 +1,14 @@
1+go:
2+ - changed-files: '**/*.go'
3+
4+docs:
5+ - changed-files: 'docs/**/*'
6+
7+changelog:
8+ - changed-files: 'CHANGELOG.md'
9+
10+tests:
11+ - changed-files: '**/*_test.go'
12+
13+provider:
14+ - changed-files: 'providers/**/*'
.github/workflows/labeler.yamlnew file+14
@@ -0,0 +1,14 @@
1+name: "Pull Request Labeler"
2+on:
3+ pull_request_target:
4+
5+jobs:
6+ triage:
7+ permissions:
8+ contents: read
9+ pull-requests: write
10+ runs-on: ubuntu-latest
11+ steps:
12+ - uses: actions/labeler@v5
13+ with:
14+ sync-labels: true