From eec794e4e03198253cdc15c186ed92dff1afd67d Mon Sep 17 00:00:00 2001 From: Phiroze Noble Date: Thu, 18 Jun 2026 15:00:14 -0400 Subject: [PATCH] Add CLA workflow Assisted-By: devx/73182be9-9723-49d9-8978-17dce0e53b3d --- .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..440bbae --- /dev/null +++ b/.github/workflows/cla.yml @@ -0,0 +1,25 @@ +name: Contributor License Agreement (CLA) + +on: + pull_request_target: + types: [opened, synchronize] + issue_comment: + types: [created] + +jobs: + cla: + runs-on: ubuntu-latest + permissions: + actions: write + pull-requests: write + if: | + (github.event.issue.pull_request + && !github.event.issue.pull_request.merged_at + && contains(github.event.comment.body, 'signed') + ) + || (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 }}