-
Notifications
You must be signed in to change notification settings - Fork 1
29 lines (26 loc) · 1.07 KB
/
cla.yml
File metadata and controls
29 lines (26 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: CLA Check
on:
pull_request_target:
types: [opened, synchronize, closed]
issue_comment:
types: [created]
permissions:
contents: write
pull-requests: write
statuses: write
jobs:
cla_check:
name: CLA Check
if: github.event_name == 'pull_request_target' || (github.event_name == 'issue_comment' && github.event.issue.pull_request)
runs-on: ubuntu-latest
steps:
- name: Run CLA Assistant Lite
if: github.event_name == 'pull_request_target' || github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA'
uses: contributor-assistant/github-action@v2.6.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
path-to-signatures: signatures/version1/cla.json
path-to-document: https://github.com/${{ github.repository }}/blob/${{ github.event.repository.default_branch }}/CLA/INDIVIDUAL_CLA.md
branch: ${{ github.event.repository.default_branch }}
allowlist: dependabot[bot],github-actions[bot],renovate[bot]