Debian Codegraph @

.github/workflows/cla.yml

raw
1 name: CLA
2
3 on:
4 issue_comment:
5 types:
6 - created
7 pull_request_target:
8
9 permissions:
10 contents: read
11 pull-requests: write
12 statuses: write
13
14 jobs:
15 check:
16 if: >-
17 !github.event.repository.fork
18 && (
19 github.event.issue.pull_request
20 && github.event.comment.body == '@conda-bot check'
21 || github.event_name == 'pull_request_target'
22 )
23 runs-on: ubuntu-slim
24 steps:
25 - name: Check CLA
26 uses: conda/actions/check-cla@7f6830b1428a9bd47f0b068892c77eae95207037 # v26.1.0
27 with:
28 # [required]
29 # A token with ability to comment, label, and modify the commit status
30 # (`pull_request: write` and `statuses: write` for fine-grained PAT; `repo` for classic PAT)
31 # (default: secrets.GITHUB_TOKEN)
32 token: ${{ secrets.CLA_ACTION_TOKEN }}
33 # [required]
34 # Label to apply to contributor's PR once CLA is signed
35 label: cla-signed
36
37 # [required]
38 # Token for opening signee PR in the provided `cla_repo`
39 # (`pull_request: write` for fine-grained PAT; `repo` and `workflow` for classic PAT)
40 cla_token: ${{ secrets.CLA_FORK_TOKEN }}