Skip to content

Commit 1789c5f

Browse files
authored
Add CLA Assistant GitHub Action
1 parent 08a999f commit 1789c5f

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

Diff for: .github/workflows/cla.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: "CLA Assistant"
2+
on:
3+
issue_comment:
4+
types: [created]
5+
pull_request_target:
6+
types: [opened,synchronize]
7+
8+
jobs:
9+
CLAssistant:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: "CLA Assistant"
13+
if: (github.event.comment.body == 'recheckcla' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
14+
# Alpha Release
15+
uses: cla-assistant/github-action@v2.0.1-alpha
16+
env:
17+
# Generated and maintained by github
18+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19+
# JFrog organization secret
20+
PERSONAL_ACCESS_TOKEN : ${{ secrets.CLA_SIGN_TOKEN }}
21+
with:
22+
path-to-signatures: 'signed_clas.json'
23+
path-to-cla-document: 'https://jfrog.com/privacy-policy/cla/'
24+
remote-organization-name: 'jfrog'
25+
remote-repository-name: 'jfrog-signed-clas'
26+
# branch should not be protected
27+
branch: 'master'
28+
allowlist: bot*

0 commit comments

Comments
 (0)