Skip to content

Commit 167b69c

Browse files
committed
added release notes automation
1 parent 26d67b8 commit 167b69c

File tree

4 files changed

+72
-0
lines changed

4 files changed

+72
-0
lines changed

.github/comprehensive-release.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Generate release notes using a standard format
2+
3+
changelog:
4+
categories:
5+
- title: Highlighted Changes
6+
labels:
7+
- highlight
8+
- title: Breaking Changes
9+
labels:
10+
- breaking-change
11+
- title: Security Fixes
12+
labels:
13+
- security-fix
14+
- title: Misc. Fixes and Improvements
15+
labels:
16+
- "*"

.github/release.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Generate release notes using a standard format
2+
3+
changelog:
4+
categories:
5+
- title: Highlighted Changes
6+
labels:
7+
- highlight
8+
- title: Breaking Changes
9+
labels:
10+
- breaking-change
11+
- title: Security Fixes
12+
labels:
13+
- security-fix
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Label Checker
2+
on:
3+
pull_request:
4+
types:
5+
- opened
6+
- synchronize
7+
- labeled
8+
- unlabeled
9+
10+
jobs:
11+
12+
check_labels:
13+
name: Check for labels
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: docker://agilepathway/pull-request-label-checker:latest
17+
with:
18+
one_of: highlight,breaking-change,security-fix,enhancement,bug
19+
repo_token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/lint.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Rust Linters
2+
3+
on:
4+
push:
5+
branches: ["main"]
6+
pull_request:
7+
branches: ["main"]
8+
9+
# This ensures that previous jobs for the PR are canceled when the PR is
10+
# updated.
11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.head_ref }}
13+
cancel-in-progress: true
14+
15+
jobs:
16+
fmt:
17+
name: rustfmt
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: actions/checkout@v4
21+
- uses: dtolnay/rust-toolchain@stable
22+
with:
23+
components: rustfmt
24+
- run: cargo fmt --all --check

0 commit comments

Comments
 (0)