Skip to content

Commit 53c6389

Browse files
authored
Add labeler to release-2.3 (#3051)
1 parent 398c32e commit 53c6389

File tree

5 files changed

+39
-48
lines changed

5 files changed

+39
-48
lines changed

.github/labeler.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
enhancement:
2+
- branch: ['feature/**', 'feat/**', 'enhancement/**', 'enh/**']
3+
4+
bug:
5+
- branch: ['fix/**', 'bug/**']
6+
7+
chore:
8+
- branch: ['chore/**']
9+
10+
tests:
11+
- branch: ['tests/**', 'test/**']
12+
- tests/**/*
13+
- perf-tests/**/*
14+
15+
documentation:
16+
- branch: ['docs/**', 'doc/**']
17+
- '**/*.md'
18+
19+
dependencies:
20+
- branch: ['deps/**', 'dep/**', 'dependabot/**']
21+
- go.mod
22+
- go.sum

.github/release-drafter.yml

Lines changed: 0 additions & 33 deletions
This file was deleted.

.github/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,6 @@ changelog:
2424
- title: ⬆️ Dependencies
2525
labels:
2626
- dependencies
27+
- title: Other Changes
28+
labels:
29+
- "*"

.github/workflows/labeler.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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: joshdales/labeler@0861fa5accbc36878f85f40b98a9f40b15fe0429 # if https://github.com/actions/labeler/pull/203 is merged, use the official action actions/labeler
13+
with:
14+
repo-token: "${{ secrets.GITHUB_TOKEN }}"

.github/workflows/release-drafter-pr.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)