Skip to content

Commit 02a7184

Browse files
committed
.github: use upstream CLA action
1 parent b8a6ecb commit 02a7184

File tree

1 file changed

+11
-17
lines changed

1 file changed

+11
-17
lines changed

.github/workflows/cla.yaml

+11-17
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
name: "CLA Assistant"
3-
on:
2+
name: "CLA"
3+
on: # yamllint disable-line rule:truthy
44
issue_comment:
55
types:
66
- "created"
@@ -9,21 +9,15 @@ on:
99
- "opened"
1010
- "closed"
1111
- "synchronize"
12-
12+
merge_group:
13+
types:
14+
- "checks_requested"
1315
jobs:
14-
CLAssistant:
15-
runs-on: "ubuntu-latest"
16+
cla:
17+
name: "Check Signature"
18+
runs-on: "buildjet-2vcpu-ubuntu-2204"
1619
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/[email protected]"
20-
env:
21-
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
22-
PERSONAL_ACCESS_TOKEN: "${{ secrets.CLA_ASSISTANT_ACCESS_TOKEN }}"
20+
- uses: "authzed/actions/cla-check@main"
2321
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"
22+
github_token: "${{ secrets.GITHUB_TOKEN }}"
23+
cla_assistant_token: "${{ secrets.CLA_ASSISTANT_ACCESS_TOKEN }}"

0 commit comments

Comments
 (0)