浏览代码

Block fixup and squash commits

original by https://github.com/skjnldsv

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 3 年之前
父节点
当前提交
d7fc6f90a4
共有 1 个文件被更改,包括 12 次插入0 次删除
  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 }}