Skip to content

Commit 7dce86e

Browse files
committed
Added test CLA workflow
1 parent 5f87ab2 commit 7dce86e

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/cla.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: "CLA Assistant"
2+
on:
3+
issue_comment:
4+
types: [created]
5+
pull_request_target:
6+
types: [opened,closed,synchronize]
7+
8+
permissions:
9+
actions: write
10+
contents: read
11+
pull-requests: write
12+
statuses: write
13+
14+
jobs:
15+
CLAAssistant:
16+
runs-on: ubuntu-24.04
17+
steps:
18+
- name: "CLA Assistant"
19+
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'
20+
uses: contributor-assistant/github-action@v2.6.1
21+
env:
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23+
PERSONAL_ACCESS_TOKEN: ${{ secrets.CLA_TOKEN }}
24+
with:
25+
path-to-signatures: 'signatures.json'
26+
path-to-document: 'https://github.com/Duet3D/cla/blob/master/Duet3D%20Contributor%20License%20Agreement.pdf'
27+
remote-organization-name: 'Duet3D'
28+
remote-repository-name: 'cla'
29+
branch: 'master'
30+

0 commit comments

Comments
 (0)