From 28d39cd96e72672f8e3a74fa4ef3efe8299111cd Mon Sep 17 00:00:00 2001 From: Alex Root Junior Date: Sat, 26 Mar 2022 18:12:17 +0200 Subject: [PATCH] Added changelog changed validator --- .github/workflows/pull_request_changelog.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/pull_request_changelog.yml diff --git a/.github/workflows/pull_request_changelog.yml b/.github/workflows/pull_request_changelog.yml new file mode 100644 index 00000000..4a7683af --- /dev/null +++ b/.github/workflows/pull_request_changelog.yml @@ -0,0 +1,20 @@ +on: + pull_request: + types: + - "opened" + - "reopened" + - "synchronize" + - "labeled" + - "unlabeled" + +jobs: + check_changes: + runs-on: ubuntu-latest + name: "Check that changes is described" + steps: + - name: "Check for news entry" + uses: brettcannon/check-for-changed-files@v1 + with: + file-pattern: "CHANGES/*" + skip-label: "skip news" + failure-message: "Missing a news file in ${file-pattern}; please add one or apply the ${skip-label} label to the pull request"