name: Git checks

on:
  pull_request:

concurrency:
  group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
  cancel-in-progress: true

jobs:
  block-fixup:
    runs-on: ubuntu-20.04
    steps:
      - name: Check out code
        uses: actions/checkout@v4.1.7

      - name: Block fixup commit merge
        uses: 13rac1/block-fixup-merge-action@v2.0.0