Check that PRs' CHANGELOG.md changes don't modify already-released content in CI (#8351)

This commit is contained in:
Erich Gubler authored and GitHub committed 2025-11-12 19:26:24 -05:00
1 parent 7b95053f5a
commit dda99c9bdb
3 files changed
+620

No files matched your search

+43
View File
@@ -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 }}"