From 757eaa92a5ed6d538a08807b1170cb1e5407c354 Mon Sep 17 00:00:00 2001 From: Flole998 Date: Sun, 18 Feb 2024 00:59:55 +0100 Subject: [PATCH] ci: Block merge or autosquash commits in PRs --- .github/workflows/block-merge-commits.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/block-merge-commits.yml diff --git a/.github/workflows/block-merge-commits.yml b/.github/workflows/block-merge-commits.yml new file mode 100644 index 000000000..546369ece --- /dev/null +++ b/.github/workflows/block-merge-commits.yml @@ -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 -- 2.47.2