Skip to content

Commit

Permalink
Add job checking that the changelog entry has been updated in every PR
Browse files Browse the repository at this point in the history
  • Loading branch information
pajlada committed Nov 29, 2023
1 parent 4433b61 commit dcbebe0
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/changelog-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Changelog Check

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

jobs:
check-changelog:
runs-on: ubuntu-latest
steps:
# Gives an error if there's no change in the changelog (except using label)
- name: Changelog check
uses: dangoslen/changelog-enforcer@v3
with:
changeLogPath: "CHANGELOG.md"
skipLabels: "no changelog entry needed, ci"

0 comments on commit dcbebe0

Please sign in to comment.