Skip to content

Commit

Permalink
Merge pull request #145 from rust-embedded/add-cis
Browse files Browse the repository at this point in the history
Add CI for CHANGELOG.md file
  • Loading branch information
almindor authored Oct 6, 2023
2 parents ebc8968 + c067315 commit 6301ad4
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/changelog.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Check CHANGELOG.md

on:
merge_group:
pull_request:
types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled]

jobs:
changelog-check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Check for CHANGELOG.md
uses: dangoslen/changelog-enforcer@v3
with:
skipLabels: 'skip changelog'
missingUpdateErrorMessage: 'Please add a changelog entry in the CHANGELOG.md file.'

1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

### Added

- Add CI workflow to check that CHANGELOG.md file has been modified in PRs
- Add `read_csr_as_rv32`, `set_rv32`, and `clear_rv32` macros
- Add `mstatus::uxl` and `mstatus::sxl`
- Add `mstatus::ube`, `mstatus::sbe`, and `mstatus::mbe` endianness bit fields
Expand Down

0 comments on commit 6301ad4

Please sign in to comment.