We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7be8cd0 + 46eebee commit 863e3e1Copy full SHA for 863e3e1
.github/workflows/cla.yml
@@ -0,0 +1,23 @@
1
+# .github/workflows/cla.yml
2
+name: Contributor License Agreement (CLA)
3
+
4
+on:
5
+ pull_request_target:
6
+ types: [opened, synchronize]
7
+ issue_comment:
8
+ types: [created]
9
10
+jobs:
11
+ cla:
12
+ runs-on: ubuntu-latest
13
+ if: |
14
+ (github.event.issue.pull_request
15
+ && !github.event.issue.pull_request.merged_at
16
+ && contains(github.event.comment.body, 'signed')
17
+ )
18
+ || (github.event.pull_request && !github.event.pull_request.merged)
19
+ steps:
20
+ - uses: Shopify/shopify-cla-action@v1
21
+ with:
22
+ github-token: ${{ secrets.GITHUB_TOKEN }}
23
+ cla-token: ${{ secrets.CLA_TOKEN }}
0 commit comments