Skip to content
This repository was archived by the owner on Feb 14, 2025. It is now read-only.

Commit b685509

Browse files
committed
Add CLA Bot as workflow
1 parent 37f18fa commit b685509

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/cla.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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/[email protected]
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

0 commit comments

Comments
 (0)