diff --git a/.github/workflows/CLA.yml b/.github/workflows/CLA.yml new file mode 100644 index 00000000..a744544b --- /dev/null +++ b/.github/workflows/CLA.yml @@ -0,0 +1,23 @@ +name: "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: cla-assistant/github-action@v2.1.3-beta + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + PERSONAL_ACCESS_TOKEN: ${{ secrets.CLA_PERSONAL_ACCESS_TOKEN }} + with: + path-to-signatures: "${{ github.event.repository.name }}/signatures/version1/cla.json" + path-to-document: "https://gist.github.com/e78f99e1c527225637e269cff1bc7e49" # Klaytn Gist + branch: "master" + allowlist: dependabot[bot] + remote-repository-name: ${{ secrets.CLA_REPOSITORY }}