Merge pull request #1970 from iced-rs/ci/verify-changelog
Add workflow to verify `CHANGELOG` is always up-to-date
This commit is contained in:
commit
6d5b69d307
2 changed files with 20 additions and 0 deletions
19
.github/workflows/verify.yml
vendored
Normal file
19
.github/workflows/verify.yml
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
name: Verify
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
jobs:
|
||||
changelog:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Check `CHANGELOG.md` has changes
|
||||
run: |
|
||||
! git diff --exit-code origin/master HEAD -- CHANGELOG.md
|
||||
- name: Check `CHANGELOG.md` has PR author
|
||||
if: ${{ github.event.pull_request.user.login != 'hecrj' }}
|
||||
run: |
|
||||
sed -n '/## \[Unreleased\]/,/^## /p' CHANGELOG.md | sed -n '/Many thanks to.../,//p' | grep '@${{ github.event.pull_request.user.login }}'
|
||||
|
|
@ -36,6 +36,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
- `Viewport` argument to `Widget::on_event`. [#1956](https://github.com/iced-rs/iced/pull/1956)
|
||||
- Nix instructions to `DEPENDENCIES.md`. [#1859](https://github.com/iced-rs/iced/pull/1859)
|
||||
- Loading spinners example. [#1902](https://github.com/iced-rs/iced/pull/1902)
|
||||
- Workflow that verifies `CHANGELOG` is always up-to-date. [#1970](https://github.com/iced-rs/iced/pull/1970)
|
||||
|
||||
### Changed
|
||||
- Updated `wgpu` to `0.16`. [#1807](https://github.com/iced-rs/iced/pull/1807)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue