name: "CLA Assistant" on: pull_request: types: [opened, synchronize] push: branches: [main] jobs: CLA: runs-on: ubuntu-latest steps: - name: "CLA Assistant" if: github.event.action == 'opened' || github.event.action == 'synchronize' uses: cla-assistant/github-action@v2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: path-to-signatures: 'signatures/cla.json' path-to-document: 'https://github.com/cla-assistant/cla-assistant/blob/master/CLA.md' branch: 'main'