| 1 | name: "CLA-Bot" |
| 2 | on: |
| 3 | issue_comment: |
| 4 | types: [ created ] |
| 5 | pull_request_target: |
| 6 | types: [ opened, closed, synchronize ] |
| 7 | |
| 8 | jobs: |
| 9 | clabot: |
| 10 | runs-on: ubuntu-latest |
| 11 | steps: |
| 12 | - name: "CLA-Bot signature check" |
| 13 | uses: cla-assistant/github-action@v2.3.0 |
| 14 | if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target' |
| 15 | env: |
| 16 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 17 | PERSONAL_ACCESS_TOKEN : ${{ secrets.CLA_BOT_ACCESS_TOKEN }} |
| 18 | with: |
| 19 | remote-repository-name: .github |
| 20 | path-to-signatures: '.github/signatures/cla.json' |
| 21 | path-to-document: 'https://github.com/wixtoolset/.github/blob/master/DNFCLA.md' |
| 22 | allowlist: wixbot,dependabot[bot] |