Skip to content

Commit 013ad20

Browse files
authored
Merge pull request #16 from jzelinskie/cla
.github: add CLA workflow
2 parents 9dc96bd + 8b9fc14 commit 013ad20

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

.github/workflows/cla.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
name: "CLA Assistant"
3+
on:
4+
issue_comment:
5+
types:
6+
- "created"
7+
pull_request_target:
8+
types:
9+
- "opened"
10+
- "closed"
11+
- "synchronize"
12+
13+
jobs:
14+
CLAssistant:
15+
runs-on: "ubuntu-latest"
16+
steps:
17+
- name: "CLA Assistant"
18+
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'"
19+
uses: "cla-assistant/github-action@v2.1.3-beta"
20+
env:
21+
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
22+
PERSONAL_ACCESS_TOKEN: "${{ secrets.CLA_ASSISTANT_ACCESS_TOKEN }}"
23+
with:
24+
remote-organization-name: "authzed"
25+
remote-repository-name: "cla"
26+
path-to-signatures: "v1/signatures.json"
27+
path-to-document: "https://github.com/authzed/cla/blob/main/v1/icla.md"
28+
branch: "main"
29+
allowlist: "authzedbot,dependabot-bot"

0 commit comments

Comments
 (0)