mirror of
https://github.com/esp-rs/esp-hal.git
synced 2025-10-03 07:05:19 +00:00
Add changelog check in CI
This commit is contained in:
parent
b77d05f009
commit
d221fe2d65
16
.github/workflows/ci.yml
vendored
16
.github/workflows/ci.yml
vendored
@ -414,3 +414,19 @@ jobs:
|
|||||||
run: cargo fmt --all --manifest-path=esp32s2-hal/Cargo.toml -- --check
|
run: cargo fmt --all --manifest-path=esp32s2-hal/Cargo.toml -- --check
|
||||||
- name: rustfmt (esp32s3-hal)
|
- name: rustfmt (esp32s3-hal)
|
||||||
run: cargo fmt --all --manifest-path=esp32s3-hal/Cargo.toml -- --check
|
run: cargo fmt --all --manifest-path=esp32s3-hal/Cargo.toml -- --check
|
||||||
|
|
||||||
|
changelog:
|
||||||
|
name: Changelog
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout sources
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Check that changelog updated
|
||||||
|
uses: dangoslen/changelog-enforcer@v3
|
||||||
|
with:
|
||||||
|
changeLogPath: CHANGELOG.md
|
||||||
|
skipLabels: 'skip-changelog'
|
||||||
|
missingUpdateErrorMessage: 'Please add a changelog entry in the CHANGELOG.md file.'
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user