Skip to content

Commit

Permalink
.github: use shared CLA action
Browse files Browse the repository at this point in the history
  • Loading branch information
jzelinskie committed May 23, 2024
1 parent 3c22141 commit 40303d4
Showing 1 changed file with 10 additions and 16 deletions.
26 changes: 10 additions & 16 deletions .github/workflows/cla.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: "CLA Assistant"
on:
name: "CLA"
on: # yamllint disable-line rule:truthy
issue_comment:
types:
- "created"
Expand All @@ -9,21 +9,15 @@ on:
- "opened"
- "closed"
- "synchronize"

merge_group:
types:
- "checks_requested"
jobs:
CLAssistant:
cla:
name: "Check Signature"
runs-on: "ubuntu-latest"
steps:
- name: "CLA Assistant"
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'"
uses: "cla-assistant/github-action@v2.1.3-beta"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
PERSONAL_ACCESS_TOKEN: "${{ secrets.CLA_ASSISTANT_ACCESS_TOKEN }}"
- uses: "authzed/actions/cla-check@main"
with:
remote-organization-name: "authzed"
remote-repository-name: "cla"
path-to-signatures: "v1/signatures.json"
path-to-document: "https://github.com/authzed/cla/blob/main/v1/icla.md"
branch: "main"
allowlist: "authzedbot,dependabot[bot]"
github_token: "${{ secrets.GITHUB_TOKEN }}"
cla_assistant_token: "${{ secrets.CLA_ASSISTANT_ACCESS_TOKEN }}"

0 comments on commit 40303d4

Please sign in to comment.