Skip to content

Commit 829da7a

Browse files
authored
Add labeler workflow (#29)
1 parent e30a717 commit 829da7a

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed

.github/labeler.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
change:
2+
- head-branch: ['^change/']
3+
4+
enhancement:
5+
- head-branch: ['^feature/', '^feat/', '^enhancement/', '^enh/']
6+
7+
bug:
8+
- head-branch: ['^fix/', '^bug/']
9+
10+
chore:
11+
- head-branch: ['^chore/']
12+
13+
documentation:
14+
- head-branch: ['^docs/', '^doc/']
15+
- changed-files: '**/*.md'
16+
17+
dependencies:
18+
- head-branch: ['^deps/', '^dep/', '^dependabot/', 'pre-commit-ci-update-config']
19+
- changed-files: ['go.mod', 'go.sum']
20+
21+
helm_chart:
22+
- changed-files: ['deployments/helm-chart/**/*']

.github/workflows/labeler.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: "Pull Request Labeler"
2+
on:
3+
- pull_request_target
4+
5+
permissions:
6+
contents: read
7+
8+
jobs:
9+
triage:
10+
permissions:
11+
contents: read
12+
pull-requests: write
13+
runs-on: ubuntu-22.04
14+
steps:
15+
- uses: actions/labeler@4f052778de9a9b80cb16cfb9079b02287285a4cb # v5.0.0-alpha.1
16+
with:
17+
repo-token: "${{ secrets.GITHUB_TOKEN }}"

0 commit comments

Comments
 (0)