mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-20 14:31:08 +01:00
Check that PRs' CHANGELOG.md changes don't modify already-released content in CI (#8351)
This commit is contained in:
1 parent
7b95053f5a
commit
dda99c9bdb
3 files changed
+620
No files matched your search
@@ -0,0 +1,43 @@
|
||||
name: changelog
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- ".github/workflows/changelog.yml"
|
||||
- "CHANGELOG.md"
|
||||
- "xtask/**/*"
|
||||
|
||||
env:
|
||||
#
|
||||
# Dependency versioning
|
||||
#
|
||||
|
||||
# This is the MSRV used by `wgpu` itself and all surrounding infrastructure.
|
||||
REPO_MSRV: "1.88"
|
||||
|
||||
#
|
||||
# Environment variables
|
||||
#
|
||||
|
||||
CARGO_INCREMENTAL: false
|
||||
CARGO_TERM_COLOR: always
|
||||
RUST_LOG: info
|
||||
RUST_BACKTRACE: "1"
|
||||
CACHE_SUFFIX: c # cache busting
|
||||
|
||||
jobs:
|
||||
changelog:
|
||||
timeout-minutes: 2
|
||||
|
||||
name: Check changelog for errors
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v5
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Run `cargo xtask changelog …`
|
||||
run: |
|
||||
cargo xtask changelog "origin/${{ github.event.pull_request.base.ref }}"
|
||||
Reference in new issue
Block a user