From 6edd22bfbc1073f1aa2202593ecae73a6a221724 Mon Sep 17 00:00:00 2001 From: ZoranPandovski Date: Thu, 24 Oct 2024 12:54:47 +0200 Subject: [PATCH] Add CLA --- .github/workflows/cla.yml | 22 ++++++++++++++++++++++ assets/contributions-agreement/cla.json | 0 2 files changed, 22 insertions(+) create mode 100644 .github/workflows/cla.yml create mode 100644 assets/contributions-agreement/cla.json diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml new file mode 100644 index 0000000..8497757 --- /dev/null +++ b/.github/workflows/cla.yml @@ -0,0 +1,22 @@ +name: "MindsDB CLA Assistant" +on: + issue_comment: + types: [created] + pull_request_target: + types: [opened,closed,synchronize] +jobs: + CLAssistant: + runs-on: ubuntu-latest + steps: + - name: "CLA Assistant" + 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' + uses: contributor-assistant/github-action@v2.6.1 + env: + GITHUB_TOKEN: ${{ secrets.CLA_TOKEN }} + PERSONAL_ACCESS_TOKEN : ${{ secrets.CLA_TOKEN }} + with: + path-to-signatures: 'assets/contributions-agreement/cla.json' + # Add path to the CLA here + path-to-document: 'https://github.com/mindsdb/mindsdb/blob/main/assets/contributions-agreement/individual-contributor.md' + branch: 'cla' + allowlist: bot*, ZoranPandovski, torrmal, Stpmax, mindsdbadmin, ea-rus, tmichaeldb, dusvyat, hamishfagg, MinuraPunchihewa, martyna-mindsdb, lucas-koontz diff --git a/assets/contributions-agreement/cla.json b/assets/contributions-agreement/cla.json new file mode 100644 index 0000000..e69de29