on: [push]

jobs:
  CheckCLA:
    runs-on: ubuntu-latest
    name: Checks that all committers are in CONTRIBUTORS
    steps:
      - name: Checkout
        uses: actions/checkout@v2
        with:
          fetch-depth: 0
      - name: Run Check
        run: ./ci/cla.sh

on: [push, pull_request]

jobs:
  CheckCLA:
    runs-on: ubuntu-latest
    name: Checks that all committers are in CONTRIBUTORS
    steps:
      - name: Checkout
        uses: actions/checkout@v2
        with:
          fetch-depth: 0
      - name: Run Check
        run: ./ci/cla.sh

Enable CLA check on PRs
Enable CLA check on PRs