]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
ci: Block merge or autosquash commits in PRs
authorFlole998 <Flole998@users.noreply.github.com>
Sat, 17 Feb 2024 23:59:55 +0000 (00:59 +0100)
committerGitHub <noreply@github.com>
Sat, 17 Feb 2024 23:59:55 +0000 (00:59 +0100)
.github/workflows/block-merge-commits.yml [new file with mode: 0644]

diff --git a/.github/workflows/block-merge-commits.yml b/.github/workflows/block-merge-commits.yml
new file mode 100644 (file)
index 0000000..546369e
--- /dev/null
@@ -0,0 +1,16 @@
+on: pull_request
+
+name: Pull Requests
+
+jobs:
+  message-check:
+    name: Block Merge or Autosquash Commits
+
+    runs-on: ubuntu-latest
+
+    steps:
+      - name: Block Merge or Autosquash Commits
+        uses: nineinchnick/block-commits-action@v1
+        with:
+          action-merge: fail
+          action-fixup: request-changes