From 4197eaf1008209df8f69efad6ce457da2d3bb37d Mon Sep 17 00:00:00 2001 From: Victor Yves Crispim Date: Fri, 25 Aug 2023 15:28:58 -0300 Subject: [PATCH] ci: check if PR updated changelog Add a new CI workflow that checks whether a PR targeting the main branch modified the CHANGELOG.md file. This can be disabled by using the "no changelog" tag when opening the PR --- .github/workflows/changelog-check.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/changelog-check.yml diff --git a/.github/workflows/changelog-check.yml b/.github/workflows/changelog-check.yml new file mode 100644 index 000000000..f3d3aecff --- /dev/null +++ b/.github/workflows/changelog-check.yml @@ -0,0 +1,18 @@ +name: Check Changelog + +on: + pull_request: + types: [opened, synchronize, reopened, labeled, unlabeled] + branches: + - main + +jobs: + check-changelog: + runs-on: ubuntu-22.04 + + steps: + - uses: tarides/changelog-check-action@v2 + with: + changelog: CHANGELOG.md + + \ No newline at end of file