From 765f09d5fa67f36880415d5aef5ae74510e5eb2b Mon Sep 17 00:00:00 2001 From: Kaan Ozkan Date: Thu, 7 Jul 2022 10:04:27 -0400 Subject: [PATCH 1/2] Remove CLA bot --- .github/probots.yml | 2 -- 1 file changed, 2 deletions(-) delete mode 100644 .github/probots.yml diff --git a/.github/probots.yml b/.github/probots.yml deleted file mode 100644 index 1491d27..0000000 --- a/.github/probots.yml +++ /dev/null @@ -1,2 +0,0 @@ -enabled: - - cla From 4134f3c5517a72c1c027f9b6ff35600f1a5fc85c Mon Sep 17 00:00:00 2001 From: Kaan Ozkan Date: Thu, 7 Jul 2022 10:10:20 -0400 Subject: [PATCH 2/2] Add workflow for CLA action --- .github/workflows/cla.yml | 19 +++++++++++++++++++ 1 file changed, 19 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..36132fb --- /dev/null +++ b/.github/workflows/cla.yml @@ -0,0 +1,19 @@ +name: Contributor License Agreement (CLA) + +on: + pull_request: + types: [opened, synchronize] + issue_comment: + types: [created] + +jobs: + build: + runs-on: ubuntu-latest + if: | + (github.event.issue.pull_request && !github.event.issue.pull_request.merged_at) + || (github.event.pull_request && !github.event.pull_request.merged) + steps: + - uses: Shopify/shopify-cla-action@v1 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + cla-token: ${{ secrets.CLA_TOKEN }}