From 3eb3154ddc523cd7ddf2df1ce998eac7ed61c0e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bruckert?= Date: Sat, 29 Aug 2020 11:37:21 +0100 Subject: [PATCH] Enforce changelog (#564) * Enforce changelog * Update changelog --- .github/workflows/pull_request.yml | 15 +++++++++++++++ CHANGELOG.md | 1 + 2 files changed, 16 insertions(+) create mode 100644 .github/workflows/pull_request.yml diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml new file mode 100644 index 0000000..d7871ef --- /dev/null +++ b/.github/workflows/pull_request.yml @@ -0,0 +1,15 @@ +name: "Pull Request Workflow" +on: + pull_request: + types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled] + +jobs: + # Enforces the update of a changelog file on every pull request + changelog: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - uses: dangoslen/changelog-enforcer@v1.1.1 + with: + changeLogPath: 'CHANGELOG.md' + skipLabel: 'skip-changelog' \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index dd956de..c6cf4de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Support for the PKCE Auth Flow - Support to advertise different language to Spotify - Added 'collaborative' parameter to user_playlist_create method. +- Enforce CHANGELOG update on PR ### Deprecated