Skip to content

Commit 1ddfe61

Browse files
ci: add CLA workflow with bot allowlist to replace cla-assistant.io webhook
Agent-Logs-Url: https://github.com/cloudwego/cloudwego.github.io/sessions/9922d0ff-6cb3-480b-8137-2d2f8edbc328 Co-authored-by: GuangmingLuo <16001996+GuangmingLuo@users.noreply.github.com>
1 parent d7dd1c4 commit 1ddfe61

2 files changed

Lines changed: 29 additions & 0 deletions

File tree

.github/workflows/cla.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: CLA Assistant
2+
3+
on:
4+
issue_comment:
5+
types: [created]
6+
pull_request_target:
7+
types: [opened, closed, synchronize]
8+
9+
permissions:
10+
actions: write
11+
contents: write
12+
pull-requests: write
13+
statuses: write
14+
15+
jobs:
16+
CLAssistant:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: CLA Assistant
20+
uses: contributor-assistant/github-action@v2.6.1
21+
env:
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23+
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
24+
with:
25+
path-to-signatures: signatures/version1/cla.json
26+
path-to-document: https://cla-assistant.io/cloudwego/cloudwego.github.io
27+
branch: main
28+
allowlist: bot

signatures/version1/cla.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{ "signedContributors": [] }

0 commit comments

Comments
 (0)