Add CLA Bot as workflow
Rob Mensching committed
Oct 17, 2021 at 17:06 UTC
83ef377e0d15134f43023d0bccbf2e3d469c4a86
1 file changed
+22
.github/workflows/cla.yml
new
+22
@@ -0,0 +1,22 @@
1
+name: "CLA-Bot"
2
+on:
3
+ issue_comment:
4
+ types: [created]
5
+ pull_request_target:
6
+ types: [ opened, closed, synchronize ]
7
+
8
+jobs:
9
+ CLAssistant:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: "CLA-Bot signature check"
13
+ 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'
14
+ uses: cla-assistant/github-action@v2.1.3-beta
15
+ env:
16
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17
+ PERSONAL_ACCESS_TOKEN : ${{ secrets.CLA_BOT_ACCESS_TOKEN }}
18
+ with:
19
+ remote-repository-name: Home
20
+ path-to-signatures: '.github/signatures/cla.json'
21
+ path-to-document: 'https://github.com/wixtoolset/Home/blob/master/DNFCLA.md'
22
+ allowlist: wixbot