* Create the `xtask` package, add command for building examples * Do not perform changelog check for `xtask` package changes * Fix unrelated `rustfmt` error
25 lines
665 B
YAML
25 lines
665 B
YAML
name: Changelog check
|
|
|
|
on:
|
|
pull_request:
|
|
# We will not track changes for the `xtask` package.
|
|
paths-ignore:
|
|
- "/xtask/"
|
|
# Run on labeled/unlabeled in addition to defaults to detect
|
|
# adding/removing skip-changelog labels.
|
|
types: [opened, reopened, labeled, unlabeled, synchronize]
|
|
|
|
jobs:
|
|
changelog:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout sources
|
|
uses: actions/checkout@v3
|
|
|
|
- uses: dangoslen/changelog-enforcer@v3
|
|
with:
|
|
changeLogPath: CHANGELOG.md
|
|
skipLabels: "skip-changelog"
|
|
missingUpdateErrorMessage: "Please add a changelog entry in the CHANGELOG.md file."
|