From 57407bd2e125c4a13c3a761005c9c7f5368d55ee Mon Sep 17 00:00:00 2001 From: Marek Skrobacki Date: Tue, 29 Apr 2025 15:39:41 +0100 Subject: [PATCH] gh: block merging autosquash commits This should stop accidental merge of PRs with commits that are meant to be dropped before merges. --- .github/workflows/block-autosquash.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/block-autosquash.yaml diff --git a/.github/workflows/block-autosquash.yaml b/.github/workflows/block-autosquash.yaml new file mode 100644 index 000000000..61fd9200d --- /dev/null +++ b/.github/workflows/block-autosquash.yaml @@ -0,0 +1,15 @@ +on: pull_request + +name: Pull Requests + +jobs: + message-check: + name: Block Autosquash Commits + + runs-on: ubuntu-latest + + steps: + - name: Block Autosquash Commits + uses: skrobul/block-autosquash-commits-action@v2.1.1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }}