name: CLA Assistant on: issue_comment: types: [created] pull_request_target: types: [opened, synchronize, reopened] permissions: {} jobs: cla: if: | (github.event_name == 'pull_request_target') || (github.event_name == 'issue_comment' && github.event.comment.body == 'recheck') runs-on: ubuntu-latest permissions: actions: write # The action writes signatures/cla.json to the cla-signatures branch; # read-only contents made it fail with "Resource not accessible". contents: write pull-requests: write statuses: write steps: - name: CLA Assistant uses: contributor-assistant/github-action@ca4a40a7d1004f18d9960b404b97e5f30a505a08 # v2.6.1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} PERSONAL_ACCESS_TOKEN: ${{ secrets.CLA_TOKEN }} with: path-to-signatures: "signatures/cla.json" path-to-document: "https://github.com/snapotter-hq/snapotter/blob/main/CLA.md" branch: "cla-signatures" allowlist: "snapotter-hq,dependabot[bot],renovate[bot],github-actions[bot],snapotter-bot" custom-notsigned-prcomment: | Thank you for your contribution! Before we can merge this PR, you need to sign our [Contributor License Agreement](https://github.com/snapotter-hq/snapotter/blob/main/CLA.md). **What the CLA does:** You keep ownership of your code. You grant SnapOtter a license to use your contribution under any license (including our commercial license). [Read the plain-language summary](https://github.com/snapotter-hq/snapotter/blob/main/CLA.md#plain-language-summary). **How to sign:** Comment on this PR with the following text: > I have read the CLA Document and I hereby sign the CLA You only need to do this once. It applies to all future contributions. custom-pr-sign-comment: "I have read the CLA Document and I hereby sign the CLA" custom-allsigned-prcomment: "All contributors have signed the CLA. Thank you!" lock-pullrequest-aftermerge: false use-dco-flag: false