added release notes automation (#111)

This commit is contained in:
Henk-Jan Lebbink 2025-02-01 01:41:36 +01:00 committed by GitHub
parent e98264fa3d
commit 72401be3fb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 72 additions and 0 deletions

16
.github/comprehensive-release.yml vendored Normal file
View File

@ -0,0 +1,16 @@
# Generate release notes using a standard format
changelog:
categories:
- title: Highlighted Changes
labels:
- highlight
- title: Breaking Changes
labels:
- breaking-change
- title: Security Fixes
labels:
- security-fix
- title: Misc. Fixes and Improvements
labels:
- "*"

13
.github/release.yml vendored Normal file
View File

@ -0,0 +1,13 @@
# Generate release notes using a standard format
changelog:
categories:
- title: Highlighted Changes
labels:
- highlight
- title: Breaking Changes
labels:
- breaking-change
- title: Security Fixes
labels:
- security-fix

19
.github/workflows/label-checker.yaml vendored Normal file
View File

@ -0,0 +1,19 @@
name: Label Checker
on:
pull_request:
types:
- opened
- synchronize
- labeled
- unlabeled
jobs:
check_labels:
name: Check for labels
runs-on: ubuntu-latest
steps:
- uses: docker://agilepathway/pull-request-label-checker:latest
with:
one_of: highlight,breaking-change,security-fix,enhancement,bug
repo_token: ${{ secrets.GITHUB_TOKEN }}

24
.github/workflows/lint.yml vendored Normal file
View File

@ -0,0 +1,24 @@
name: Rust Linters
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
# This ensures that previous jobs for the PR are canceled when the PR is
# updated.
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
jobs:
fmt:
name: rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- run: cargo fmt --all --check