Skip to content

Commit 528b1c5

Browse files
authored
Merge pull request #591 from Expensify/andrew-cla
Update to use a shared CLA
2 parents 5e8f544 + b94842b commit 528b1c5

File tree

1 file changed

+2
-29
lines changed

1 file changed

+2
-29
lines changed

.github/workflows/cla.yml

Lines changed: 2 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -8,32 +8,5 @@ on:
88

99
jobs:
1010
CLA:
11-
runs-on: ubuntu-latest
12-
# This job only runs for pull request comments or pull request target events (not issue comments)
13-
if: github.event.issue.pull_request || github.event_name == 'pull_request_target'
14-
steps:
15-
- uses: actions-ecosystem/action-regex-match@9c35fe9ac1840239939c59e5db8839422eed8a73
16-
id: sign
17-
with:
18-
text: ${{ github.event.comment.body }}
19-
regex: '\s*I have read the CLA Document and I hereby sign the CLA\s*'
20-
- uses: actions-ecosystem/action-regex-match@9c35fe9ac1840239939c59e5db8839422eed8a73
21-
id: recheck
22-
with:
23-
text: ${{ github.event.comment.body }}
24-
regex: '\s*recheck\s*'
25-
- name: CLA Assistant
26-
if: ${{ steps.recheck.outputs.match != '' || steps.sign.outputs.match != '' }} || github.event_name == 'pull_request_target'
27-
# Version: 2.1.2-beta
28-
uses: cla-assistant/github-action@948230deb0d44dd38957592f08c6bd934d96d0cf
29-
env:
30-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31-
PERSONAL_ACCESS_TOKEN : ${{ secrets.CLA_BOTIFY_TOKEN }}
32-
with:
33-
path-to-signatures: '${{ github.repository }}/cla.json'
34-
path-to-document: 'https://github.com/${{ github.repository }}/blob/main/CLA.md'
35-
branch: 'main'
36-
remote-organization-name: 'Expensify'
37-
remote-repository-name: 'CLA'
38-
lock-pullrequest-aftermerge: false
39-
allowlist: 'snyk-bot,OSBotify'
11+
uses: Expensify/GitHub-Actions/.github/workflows/cla.yml@main
12+
secrets: inherit

0 commit comments

Comments
 (0)