From d610a880a2c05968c9e60400f2041f281dee809f Mon Sep 17 00:00:00 2001 From: Teng Zhang Date: Fri, 24 May 2024 19:57:51 +0800 Subject: [PATCH] Add CLA CI --- .github/workflows/cla.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/cla.yml diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml new file mode 100644 index 000000000..b81aa3a88 --- /dev/null +++ b/.github/workflows/cla.yml @@ -0,0 +1,26 @@ +name: CLA Assistant +on: + issue_comment: + types: [created] + pull_request_target: + types: [opened,reopened,closed,synchronize] + +permissions: + actions: write + contents: write + pull-requests: write + statuses: write + +jobs: + CLAAssistant: + 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.4.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + path-to-signatures: v20240524-signatures.json + path-to-document: https://github.com/pascal-lab/Tai-e/blob/cla/README.md + branch: cla