File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed
Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " Signature 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+ CLA-Assistant :
16+ if : github.event_name == 'pull_request_target' ||
17+ (
18+ github.event.comment.body == 'recheck' ||
19+ github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA'
20+ )
21+ runs-on : ubuntu-latest
22+ steps :
23+ - uses : scratchfoundation/scratch-agreements/.github/actions/cla-allowlist@main
24+ id : cla-allowlist
25+ - name : " CLA Assistant"
26+ uses : contributor-assistant/github-action@ca4a40a7d1004f18d9960b404b97e5f30a505a08 # v2.6.1
27+ env :
28+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
29+ # the below token should have repo scope and must be manually added by you in the repository's secrets
30+ PERSONAL_ACCESS_TOKEN : ${{ secrets.GHA_AGREEMENTS_PAT }}
31+ with :
32+ remote-organization-name : " scratchfoundation"
33+ remote-repository-name : " scratch-agreements"
34+ path-to-signatures : " signatures/version1/cla.json"
35+ path-to-document : " https://github.com/scratchfoundation/scratch-agreements/blob/main/CLA.md"
36+ branch : " main"
37+ allowlist : ${{ steps.cla-allowlist.outputs.allowlist }}
You can’t perform that action at this time.
0 commit comments