From: Flole998 Date: Sat, 17 Feb 2024 23:59:55 +0000 (+0100) Subject: ci: Block merge or autosquash commits in PRs X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=757eaa92a5ed6d538a08807b1170cb1e5407c354;p=thirdparty%2Ftvheadend.git ci: Block merge or autosquash commits in PRs --- 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