From 06c8110a486ca8c6ca435cb97ea11578203981ff Mon Sep 17 00:00:00 2001 From: Necromos Date: Tue, 21 Jul 2020 16:09:47 +0200 Subject: [PATCH] chore: adding cla check workflow As all users making contributions into Ockam repositories needs to sign the CLA beforehand this workflow will give prompt them for approval and manage the persistence. --- .github/workflows/cla.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 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 0000000..11cc99e --- /dev/null +++ b/.github/workflows/cla.yml @@ -0,0 +1,25 @@ +name: "CLA Check" +on: + issues: + types: [opened] + issue_comment: + types: [created] + pull_request: + types: [opened, closed, synchronize] + +jobs: + cla-check: + runs-on: ubuntu-latest + steps: + - name: "CLA Check" + uses: ockam-network/cla-action@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + PERSISTANCE_GITHUB_TOKEN: ${{ secrets.PERSISTANCE_GITHUB_TOKEN }} + with: + path-to-signatures: 'cla-signers.json' + path-to-cla-document: 'https://www.ockam.io/learn/guides/contributions/cla' + branch: 'master' + persistance-repository: 'contributors' + empty-commit-flag: false + blockchain-storage-flag: false