| 1 | name: "CLA Assistant" |
| 2 | on: |
| 3 | issue_comment: |
| 4 | types: [ created ] |
| 5 | pull_request_target: |
| 6 | types: [ opened,closed,synchronize ] |
| 7 | |
| 8 | permissions: |
| 9 | actions: write |
| 10 | contents: write |
| 11 | pull-requests: write |
| 12 | statuses: write |
| 13 | |
| 14 | jobs: |
| 15 | CLAAssistant: |
| 16 | runs-on: ubuntu-latest |
| 17 | steps: |
| 18 | - name: "CLA Assistant" |
| 19 | 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' |
| 20 | uses: contributor-assistant/github-action@v2.6.1 |
| 21 | env: |
| 22 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 23 | with: |
| 24 | path-to-signatures: 'signatures/version1/cla.json' |
| 25 | path-to-document: 'https://github.com/continuedev/continue/blob/main/docs/docs/CLA.md' |
| 26 | branch: cla-signatures |
| 27 | allowlist: dependabot[bot] |