From 3e1f1de9203f00cdb1ad8c0669d42fb7db051a2e Mon Sep 17 00:00:00 2001 From: Ramiz Polic Date: Wed, 11 Oct 2023 15:23:31 +0200 Subject: [PATCH] feat: add pull request verify GA Signed-off-by: Ramiz Polic --- .github/workflows/ci.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index bea15ca6..fffb6c96 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -285,3 +285,14 @@ jobs: run: nix develop --impure .#ci -c ./deploy/dev/multi-dc/test/multi-dc-raft.sh install env: OPERATOR_VERSION: ${{ needs.artifacts.outputs.container-image-tag }} + + verify: + name: Verify + runs-on: ubuntu-latest + if: github.event_name == 'pull_request' + + steps: + - name: Block Merge Commits + uses: xt0rted/block-autosquash-commits-action@v2 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }}