mirror of
https://github.com/minio/minio-rs.git
synced 2025-12-06 15:26:51 +08:00
added release notes automation (#111)
This commit is contained in:
parent
e98264fa3d
commit
72401be3fb
16
.github/comprehensive-release.yml
vendored
Normal file
16
.github/comprehensive-release.yml
vendored
Normal 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
13
.github/release.yml
vendored
Normal 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
19
.github/workflows/label-checker.yaml
vendored
Normal 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
24
.github/workflows/lint.yml
vendored
Normal 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
|
||||||
Loading…
x
Reference in New Issue
Block a user