Skip to content
This repository was archived by the owner on May 24, 2023. It is now read-only.

Commit 8b97a27

Browse files
authored
Add release-drafter (#64)
1 parent bfc6c55 commit 8b97a27

File tree

2 files changed

+87
-0
lines changed

2 files changed

+87
-0
lines changed

Diff for: .github/release-drafter.yml

+71
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
name-template: 'v$RESOLVED_VERSION'
2+
tag-template: 'v$RESOLVED_VERSION'
3+
categories:
4+
- title: '🚀 Features'
5+
labels:
6+
- "feature"
7+
- "enhancement"
8+
- title: '💣 Breaking Change'
9+
labels:
10+
- "change"
11+
- title: '🐛 Bug Fixes'
12+
labels:
13+
- "bug"
14+
- title: '📝 Documentation'
15+
labels:
16+
- "documentation"
17+
- title: '🔨 Maintenance'
18+
labels:
19+
- "chore"
20+
- "dependencies"
21+
version-resolver:
22+
major:
23+
labels:
24+
- 'major'
25+
minor:
26+
labels:
27+
- 'minor'
28+
patch:
29+
labels:
30+
- 'patch'
31+
default: patch
32+
exclude-labels:
33+
- '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\/.+/'
63+
template: |
64+
## New in NGINX Ingress Operator v$RESOLVED_VERSION
65+
66+
$CHANGES
67+
68+
## Compatibility
69+
70+
- NGINX Ingress Controller NIC_VERSION_REPLACE_ME!
71+
- Openshift 4.5 or newer.

Diff for: .github/workflows/release-drafter.yml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Release Drafter
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
types: [opened, reopened, synchronize]
9+
10+
jobs:
11+
update_release_draft:
12+
runs-on: ubuntu-20.04
13+
steps:
14+
- uses: release-drafter/release-drafter@v5
15+
env:
16+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)