-
Notifications
You must be signed in to change notification settings - Fork 3
30 lines (29 loc) · 1.59 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
name: "CLA Assistant"
on:
issue_comment:
types: [created]
pull_request_target:
types: [opened, closed, synchronize]
jobs:
cla-assistant:
runs-on: ubuntu-latest
steps:
- name: "CLA Assistant"
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have reviewed and hereby sign the CLA') || github.event_name == 'pull_request_target'
# Pin to a specific version - this third-party action uses a personal access token
uses: cla-assistant/github-action@948230deb0d44dd38957592f08c6bd934d96d0cf
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PERSONAL_ACCESS_TOKEN : ${{ secrets.CLA_PERSONAL_ACCESS_TOKEN }}
with:
# Signatures are stored in https://github.com/EarthSciML/cla
remote-organization-name: EarthSciML
remote-repository-name: cla
path-to-signatures: signatures.json
path-to-document: https://github.com/EarthSciML/cla/blob/main/CLA.md
branch: main
allowlist: dependabot[bot],github-actions[bot]
custom-pr-sign-comment: I have reviewed and hereby sign the CLA
create-file-commit-message: Create signatures.json
signed-commit-message: '$contributorName signed the CLA in $pullRequestNo'
custom-notsigned-prcomment: 'Thanks for your contribution! Like many open source projects, we ask that you sign our [Contributor License Agreement](https://github.com/EarthSciML/cla/blob/main/CLA.md) before we can accept your contribution. You can sign the CLA by posting a comment with the below format:<br/>'