Skip to content

Commit

Permalink
ci: Add a changelog check
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioGasquez committed Jan 25, 2024
1 parent 027e24b commit ef062d4
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Changelog check

on:
pull_request:
# 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@v4

- uses: dangoslen/changelog-enforcer@v3
with:
changeLogPath: CHANGELOG.md
skipLabels: "skip-changelog"
missingUpdateErrorMessage: "Please add a changelog entry in the CHANGELOG.md file."

0 comments on commit ef062d4

Please sign in to comment.