Skip to content

Commit 062da32

Browse files
committed
PLAT-1431 Set up release drafter config
This is necessary before we add the release drafter action, because the config must be in the default branch first.
1 parent b8ce2dd commit 062da32

File tree

12 files changed

+101
-0
lines changed

12 files changed

+101
-0
lines changed

.github/pull_request_template.md

Whitespace-only changes.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
_extends: openplatform-kubewarden-policies:.github/release-drafter.yml
2+
name-template: "harvester-pci-devices/v$RESOLVED_VERSION"
3+
tag-template: "harvester-pci-devices/v$RESOLVED_VERSION"
4+
tag-prefix: harvester-pci-devices/v
5+
include-paths:
6+
- "policies/harvester-pci-devices/"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
_extends: openplatform-kubewarden-policies:.github/release-drafter.yml
2+
name-template: "harvester-restricted-network-vm/v$RESOLVED_VERSION"
3+
tag-template: "harvester-restricted-network-vm/v$RESOLVED_VERSION"
4+
tag-prefix: harvester-restricted-network-vm/v
5+
include-paths:
6+
- "policies/harvester-restricted-network-vm/"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
_extends: openplatform-kubewarden-policies:.github/release-drafter.yml
2+
name-template: "harvester-restricted-network/v$RESOLVED_VERSION"
3+
tag-template: "harvester-restricted-network/v$RESOLVED_VERSION"
4+
tag-prefix: harvester-restricted-network/v
5+
include-paths:
6+
- "policies/harvester-restricted-network/"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
_extends: openplatform-kubewarden-policies:.github/release-drafter.yml
2+
name-template: "istio-gateway/v$RESOLVED_VERSION"
3+
tag-template: "istio-gateway/v$RESOLVED_VERSION"
4+
tag-prefix: istio-gateway/v
5+
include-paths:
6+
- "policies/istio-gateway/"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
_extends: openplatform-kubewarden-policies:.github/release-drafter.yml
2+
name-template: "rke2-mig-partitions/v$RESOLVED_VERSION"
3+
tag-template: "rke2-mig-partitions/v$RESOLVED_VERSION"
4+
tag-prefix: rke2-mig-paritions/v
5+
include-paths:
6+
- "policies/rke2-mig-partitions/"

.github/release-drafter.yml

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
categories:
2+
- title: "⚠️ Breaking changes"
3+
labels:
4+
- "kind/major"
5+
- "kind/breaking-change"
6+
- title: "🚀 Features"
7+
labels:
8+
- "kind/enhancement"
9+
- "kind/feature"
10+
- title: "🐛 Bug Fixes"
11+
labels:
12+
- "kind/bug"
13+
- title: "🧰 Maintenance"
14+
labels:
15+
- "kind/chore"
16+
- "area/dependencies"
17+
18+
exclude-labels:
19+
- duplicate
20+
- invalid
21+
- later
22+
- wontfix
23+
- kind/question
24+
- release/skip-changelog
25+
26+
change-template: "- $TITLE (#$NUMBER)"
27+
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
28+
name-template: "v$RESOLVED_VERSION"
29+
template: |
30+
$CHANGES
31+
32+
autolabeler:
33+
# Tag any PR with "!" in the subject as major update. In other words, breaking change
34+
- label: "kind/breaking-change"
35+
title: "/.*!:.*/"
36+
- label: "area/dependencies"
37+
title: "chore(deps)"
38+
- label: "area/dependencies"
39+
title: "fix(deps)"
40+
- label: "area/dependencies"
41+
title: "build(deps)"
42+
- label: "kind/feature"
43+
title: "feat"
44+
- label: "kind/bug"
45+
title: "fix"
46+
- label: "kind/chore"
47+
title: "chore"
48+
49+
version-resolver:
50+
major:
51+
labels:
52+
- "kind/major"
53+
- "kind/breaking-change"
54+
minor:
55+
labels:
56+
- "kind/minor"
57+
- "kind/feature"
58+
- "kind/enhancement"
59+
patch:
60+
labels:
61+
- "kind/patch"
62+
- "kind/fix"
63+
- "kind/bug"
64+
- "kind/chore"
65+
- "area/dependencies"
66+
default: patch

policies/harvester-pci-devices/metadata.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ executionMode: kubewarden-wapc
1313
backgroundAudit: true
1414
annotations:
1515
# kubewarden specific:
16+
io.kubewarden.policy.version: 0.1.0
1617
io.kubewarden.policy.title: harvester-pci-devices
1718
io.kubewarden.policy.description: Prevents libvirt from binding pci devices in the wrong namespaces.
1819
io.kubewarden.policy.author: "ITPE Core Team <itpe-core-maintenance@suse.com>"

policies/harvester-restricted-network-vm/metadata.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ executionMode: kubewarden-wapc
1313
backgroundAudit: true
1414
annotations:
1515
# kubewarden specific:
16+
io.kubewarden.policy.version: 0.1.0
1617
io.kubewarden.policy.title: harvester-restricted-network-vm
1718
io.kubewarden.policy.description: Ensure harvester only creates a VM with a specified network within in a restricted namespace.
1819
io.kubewarden.policy.author: "ITPE Core Team <itpe-core-maintenance@suse.com>"

policies/harvester-restricted-network/metadata.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ executionMode: kubewarden-wapc
1313
backgroundAudit: true
1414
annotations:
1515
# kubewarden specific:
16+
io.kubewarden.policy.version: 0.1.0
1617
io.kubewarden.policy.title: harvester-restricted-network
1718
io.kubewarden.policy.description: Prevents harvester from creating a network for a restricted VLAN in unauthorized namespaces.
1819
io.kubewarden.policy.author: "ITPE Core Team <itpe-core-maintenance@suse.com>"

0 commit comments

Comments
 (0)