Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Add changelog checker to github workflows (#11198)

Jakubd934166e4ee9
diff --git a/.github/workflows/changelog-check.yml b/.github/workflows/changelog-check.yml
new file mode 100644
index 0000000000..3cd4bfd8da
--- /dev/null
+++ b/.github/workflows/changelog-check.yml
@@ -0,0 +1,20 @@
+name: "Changelog check"
+on:
+ pull_request:
+ branches:
+ - 'main'
+ # The specific activity types are listed here to include "labeled" and "unlabeled"
+ # (which are not included by default for the "pull_request" trigger).
+ # This is needed to allow skipping enforcement of the changelog in PRs with specific labels,
+ # as defined in the (optional) "skipLabels" property.
+ 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: dangoslen/changelog-enforcer@83e1e992a730c447cca6e9ecf8e7b21cb9a7463e
+ with:
+ skipLabels: "skip changelog,dependencies,bot"