diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/cla.yml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml new file mode 100644 index 00000000..818fdcf3 --- /dev/null +++ b/.github/workflows/cla.yml | |||
@@ -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 | ||