Generate release notes from PR labels (#265)

This change enables automatic release notes from labels. It also
enforces a changelog label for all PRs.

Categorizing changes will make it easier for users to understand what
changed in each release.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

## Chores
* Implemented automated changelog categorization and pull request label
enforcement to organize release notes into semantic sections (Added,
Changed, Fixed, Deprecated, Removed, Security, Dependencies) for
improved clarity in future releases.

<!-- review_stack_entry_start -->

[![Review Change
Stack](https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui.svg)](https://app.coderabbit.ai/change-stack/netbirdio/kubernetes-operator/pull/265?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack)

<!-- review_stack_entry_end -->

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Signed-off-by: Philip Laine <philip.laine@gmail.com>
This commit is contained in:
Philip Laine
2026-05-18 15:19:21 +02:00
committed by GitHub
parent 3955039068
commit 0c0a3b7796
3 changed files with 51 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
name: changelog
on:
pull_request:
types: [opened, labeled, unlabeled, synchronize]
permissions:
pull-requests: read
defaults:
run:
shell: bash
jobs:
labels:
runs-on: ubuntu-latest
steps:
- name: Check changelog label
uses: mheap/github-action-required-labels@0ac283b4e65c1fb28ce6079dea5546ceca98ccbe #v5.5.2
with:
mode: exactly
count: 1
use_regex: true
labels: "changelog/.*"