Skip to content

Commit f6af5ee

Browse files
authored
Add CLA workflow configuration file (#190)
Add CLA workflow configuration file (#190)
1 parent a1562a5 commit f6af5ee

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

.github/workflows/cla.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: "CLA Assistant"
2+
on:
3+
issue_comment:
4+
types: [created]
5+
pull_request_target:
6+
types: [opened,closed,synchronize]
7+
8+
jobs:
9+
CLA-Assistant:
10+
runs-on: windows-latest
11+
steps:
12+
- name: "CLA Assistant"
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+
# Beta Release
15+
uses: contributor-assistant/[email protected]
16+
env:
17+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18+
# the below token should have repo scope and must be manually added by you in the repository's secret
19+
PERSONAL_ACCESS_TOKEN : ${{ secrets.CLA_BOT_SECRET }}
20+
with:
21+
remote-repository-name: 'CLA-Signatures'
22+
remote-organization-name: 'Autodesk'
23+
path-to-signatures: 'signatures/Autodesk/Individual/AutoLispExt.json'
24+
path-to-document: 'https://github.com/Autodesk/CLA-Assistant-Test-Signatures/blob/master/CLA.md' # e.g. a CLA or a DCO document
25+
# branch should not be protected
26+
branch: 'master'
27+
allowlist: dependabot
28+
29+
#below are the optional inputs - If the optional inputs are not given, then default values will be taken
30+
#remote-organization-name: enter the remote organization name where the signatures should be stored (Default is storing the signatures in the same repository)
31+
#remote-repository-name: enter the remote repository name where the signatures should be stored (Default is storing the signatures in the same repository)
32+
#create-file-commit-message: 'For example: Creating file for storing CLA Signatures'
33+
#signed-commit-message: 'For example: $contributorName has signed the CLA in #$pullRequestNo'
34+
custom-notsigned-prcomment: |
35+
Thank you for your submission, we really appreciate it. We ask that you sign our Contributor License Agreement before we can accept your contribution.
36+
37+
If you are contributing on behalf of your employer you must fill out our **Corporate Contributor License Agreement** which can be found [here](https://github.com/Autodesk/autodesk.github.io/releases/download/1.0/ADSK.Form.Corp.Contrib.Agmt.for.Open.Source.docx).
38+
If you are contributing on behalf of yourself you must agree to our **Individual Contributor License Agreement** by reviewing [this document](https://github.com/Autodesk/autodesk.github.io/releases/download/1.0/ADSK.Form.Ind.Contrib.Agmt.for.Open.Source.docx) and signing it or by replying below a with a comment containing the following text:
39+
#custom-pr-sign-comment: 'The signature to be committed in order to sign the CLA'
40+
#custom-allsigned-prcomment: 'pull request comment when all contributors has signed, defaults to **CLA Assistant Lite bot** All Contributors have signed the CLA.'
41+
#lock-pullrequest-aftermerge: false - if you don't want this bot to automatically lock the pull request after merging (default - true)
42+
#use-dco-flag: true - If you are using DCO instead of CLA

0 commit comments

Comments
 (0)