diff options
| author | Rob Mensching <rob@firegiant.com> | 2021-10-17 17:06:53 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2021-10-18 06:45:12 -0700 |
| commit | 83ef377e0d15134f43023d0bccbf2e3d469c4a86 (patch) | |
| tree | 2b476185ac3cf5a3e9410498789b0f7e47544f95 | |
| parent | bbf6449da7dd477999b877402fea546eb0801911 (diff) | |
| download | wix-83ef377e0d15134f43023d0bccbf2e3d469c4a86.tar.gz wix-83ef377e0d15134f43023d0bccbf2e3d469c4a86.tar.bz2 wix-83ef377e0d15134f43023d0bccbf2e3d469c4a86.zip | |
Add CLA Bot as workflow
| -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 | ||
