Skip to content

Commit 383e6aa

Browse files
Add .github/workflows/cla.yml through file_replicator.
1 parent b2f1505 commit 383e6aa

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.github/workflows/cla.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: "CLA Assistant"
2+
on:
3+
issue_comment:
4+
types: [created]
5+
pull_request_target:
6+
types: [opened,closed,synchronize]
7+
8+
jobs:
9+
CLAssistant:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: "CLA Assistant"
13+
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'
14+
# Alpha Release
15+
uses: cla-assistant/github-action@v2.0.2-alpha
16+
env:
17+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18+
PERSONAL_ACCESS_TOKEN : ${{ secrets.CLA_PAT }}
19+
with:
20+
remote-organization-name: twitter
21+
remote-repository-name: .github-private
22+
path-to-signatures: 'cla/signatures.json'
23+
path-to-document: 'https://gist.github.com/twitter-service/a1ad5818c024dc4265f8b60e6d043f26'
24+
custom-allsigned-prcomment: 'All Contributors have signed the CLA. If the commit check is not passing, a maintainer must go the Checks tab of this PR and rerun the GitHub Action.'
25+
branch: 'main'

0 commit comments

Comments
 (0)