-
Notifications
You must be signed in to change notification settings - Fork 2
33 lines (27 loc) · 1.53 KB
/
cla.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#-----------------------------
# CI Github Action: CLA Assistant trigger script
#-----------------------------
name: cla-assistant
on:
issue_comment: # To detect standalone comment
types: [created]
pull_request_target:
types: [opened,closed,synchronize]
jobs:
cla-assistant:
runs-on: ubuntu-latest
steps:
- name: cla-assistant-check
uses: cla-assistant/[email protected]
if: startsWith(github.event.comment.body, 'recheckcla') || contains(github.event.comment.body, 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PERSONAL_ACCESS_TOKEN : ${{ secrets.PERSONAL_ACCESS_TOKEN }}
with:
path-to-signatures: 'signatures/cla.json'
path-to-cla-document: 'https://github.com/exadel-inc/ui-playground/blob/main/CLA.md'
branch: 'history/cla'
allowlist: ala-n,yadamskaya,AlexanderBazukevich,nattallius,bot*
signed-commit-message: 'chore: $contributorName has signed the CLA in #$pullRequestNo'
create-file-commit-message: 'chore: created file for storing CLA Signatures'
custom-notsigned-prcomment: 'Thank you for your submission, we really appreciate it. We ask that you sign our <a href="https://github.com/exadel-inc/ui-playground/blob/main/CLA.md">Contributor Licence Agreement</a> before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.'