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 authored Nov 29, 2023
1 parent 4433b61 commit 2c57da3
Show file tree
Hide file tree
Showing 2 changed files with 18 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"
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
- Dev: Update Java source & target compatibility to 11. (#3)
- Dev: Rewrite build.gradle into Kotlin DSL script. (#2)
- Dev: Add shadow jar support. (#4, #6)
- Dev: Add changelog checker CI job. (#7)

## 1.2

Expand Down

0 comments on commit 2c57da3

Please sign in to comment.