Skip to content

Commit cd65cd0

Browse files
authored
Add CLA Assistant GitHub workflow (signalfx#61)
1 parent 35ae92b commit cd65cd0

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

.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+
ContributorLicenseAgreement:
16+
runs-on: ubuntu-latest
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: cla-assistant/github-action@v2.3.1
21+
env:
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23+
PERSONAL_ACCESS_TOKEN: ${{ secrets.PAT_CLATOOL }}
24+
with:
25+
remote-organization-name: splunk
26+
remote-repository-name: cla-agreement
27+
branch: main
28+
path-to-signatures: signatures/version1/cla.json
29+
path-to-document: https://github.com/splunk/cla-agreement/blob/main/CLA.md
30+
allowlist: dependabot[bot]

0 commit comments

Comments
 (0)