Browse Source

Block fixup and squash commits

original by https://github.com/skjnldsv

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 3 years ago
parent
commit
d7fc6f90a4
1 changed files with 12 additions and 0 deletions
  1. 12 0
      .github/workflows/fixup.yml

+ 12 - 0
.github/workflows/fixup.yml

@@ -0,0 +1,12 @@
+name: Pull request checks
+on: pull_request
+
+jobs:
+  commit-message-check:
+    name: Block fixup and squash commits
+    runs-on: ubuntu-latest
+    steps:
+      - name: Run check
+        uses: xt0rted/block-autosquash-commits-action@main
+        with:
+          repo-token: ${{ secrets.GITHUB_TOKEN }}