-
Notifications
You must be signed in to change notification settings - Fork 427
36 lines (33 loc) · 1.07 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
34
35
36
---
name: CLA
on:
issue_comment:
types:
- created
pull_request_target:
jobs:
check:
if: >-
!github.event.repository.fork
&& (
github.event.issue.pull_request
&& github.event.comment.body == '@conda-bot check'
|| github.event_name == 'pull_request_target'
)
runs-on: ubuntu-latest
steps:
- name: Check CLA
uses: conda/actions/[email protected]
with:
# [required]
# A token with ability to comment, label, and modify the commit status
# (`pull_request: write` and `statuses: write` for fine-grained PAT; `repo` for classic PAT)
# (default: secrets.GITHUB_TOKEN)
token: ${{ secrets.CLA_ACTION_TOKEN }}
# [required]
# Label to apply to contributor's PR once CLA is signed
label: cla-signed
# [required]
# Token for opening singee PR in the provided `cla_repo`
# (`pull_request: write` for fine-grained PAT; `repo` and `workflow` for classic PAT)
cla_token: ${{ secrets.CLA_FORK_TOKEN }}