Skip to content

Commit a03fe28

Browse files
authored
Remove PR labeler, use autolabeler (#69)
1 parent 1c2fd2c commit a03fe28

File tree

4 files changed

+32
-19
lines changed

4 files changed

+32
-19
lines changed

.github/pr-labeler.yml

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

.github/release-drafter.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,35 @@ version-resolver:
3131
default: patch
3232
exclude-labels:
3333
- 'skip-changelog'
34+
autolabeler:
35+
- label: 'documentation'
36+
files:
37+
- '*.md'
38+
branch:
39+
- '/docs{0,1}\/.+/'
40+
- label: 'chore'
41+
branch:
42+
- '/chore\/.+/'
43+
- label: 'bug'
44+
branch:
45+
- '/fix\/.+/'
46+
title:
47+
- '/fix/i'
48+
- label: 'feature'
49+
branch:
50+
- '/feat\/.+/'
51+
- '/feature\/.+/'
52+
- label: 'enhancement'
53+
branch:
54+
- '/enh\/.+/'
55+
- '/enhancement\/.+/'
56+
- label: 'dependencies'
57+
files:
58+
- 'go.mod'
59+
- 'go.sum'
60+
- 'vendor*'
61+
branch:
62+
- '/deps\/.+/'
3463
template: |
3564
## New in NGINX Plus Integration with Cloud Autoscaling v$RESOLVED_VERSION
3665

.github/workflows/pr-labeler.yml

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

.github/workflows/release-drafter.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@ on:
44
push:
55
branches:
66
- master
7+
pull_request:
8+
types: [opened, reopened, synchronize]
79

810
jobs:
911
update_release_draft:
1012
runs-on: ubuntu-latest
1113
steps:
12-
- uses: release-drafter/release-drafter@master
14+
- uses: release-drafter/release-drafter@v5.14.0
1315
env:
1416
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)