diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 75fd222903..c59f9397ae 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -9,3 +9,7 @@ Resolves # ## Analytics changes ## Screenshots + +## CLA + +With the submission of this Pull Request, I confirm that I have read and agree to the terms of the [Contributor License Agreement](https://safe.global/cla/). diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml deleted file mode 100644 index e9689bc131..0000000000 --- a/.github/workflows/cla.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: CLA - -on: - pull_request: - - pull_request_review_comment: - - issue_comment: - -jobs: - CLAssistant: - runs-on: ubuntu-latest - steps: - - name: Check if CLA has been signed in this PR - if: ${{ github.event.pull_request.head.repo.full_name != 'safe-global/web-core' }} - uses: peter-evans/find-comment@v2 - id: fc - with: - issue-number: ${{ github.event.number }} - comment-author: ${{ github.event.pull_request.user.login }} - body-includes: 'I have read the CLA Document and I hereby sign the CLA' - - - name: Post a comment if the PR is from a fork - if: ${{ github.event.pull_request.head.repo.full_name != 'safe-global/web-core' && steps.fc.outputs.comment-id == 0 }} - uses: mshick/add-pr-comment@v2 - with: - message-id: cla-comment - message: | - Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our [Contributor License Agreement](https://safe.global/cla/) before we can accept your contribution. You can sign the CLA just by posting a comment as per the format below: - - --- - - *I have read the CLA Document and I hereby sign the CLA* - - --- - - Thank you! - - - name: Post a comment confirming the CLA was signed - if: ${{ steps.fc.outputs.comment-id != 0 }} - uses: mshick/add-pr-comment@v2 - with: - message-id: cla-comment - message: | - All contributors have signed the CLA ✍️ ✅ diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f38a42b8a1..1775c3be8c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -4,6 +4,10 @@ When contributing to this repository, please first discuss the change you wish t Please note we have a Code of Conduct (see below), please follow it in all your interactions with the project. +## CLA +It is a requirement for all contributors to sign the [Contributor License Agreement (CLA)](safe.global/cla/) in order to proceed with their contribution. +The submission of a pull request serves as automatic confirmation of a contributor's agreement to the terms of the CLA. + ## Pull Request Process - When opening a pull request, please make sure to fully fill out the pull request template that will appear in the description text box.