Skip to content

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

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

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

Workflow file for this run

name: Check `CHANGELOG.md`
on:
pull_request:
paths:
- '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: 1
name: Check `CHANGELOG` for errors
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v5
with:
fetch-depth: 0
ref: ${{ github.pull_request.head.ref }}
- name: Run `cargo xtask changelog …`
run: |
cargo xtask changelog "${{ github.pull_request.base.ref }}"