summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/fixup.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/.github/workflows/fixup.yml b/.github/workflows/fixup.yml
new file mode 100644
index 00000000..3d20975d
--- /dev/null
+++ b/.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 }}