-
Notifications
You must be signed in to change notification settings - Fork 22
28 lines (26 loc) · 798 Bytes
/
Copy pathcla.yml
File metadata and controls
28 lines (26 loc) · 798 Bytes
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
name: CLA Assistant
on:
issue_comment:
types: [created]
pull_request_target:
types: [opened, synchronize, reopened]
permissions:
actions: write
contents: write
pull-requests: write
statuses: write
jobs:
cla:
if: |
(github.event_name == 'pull_request_target') ||
(github.event_name == 'issue_comment' && github.event.comment.body == 'recheck')
runs-on: ubuntu-latest
steps:
- uses: contributor-assistant/github-action@v2.6.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
path-to-document: 'https://github.com/${{ github.repository }}/blob/main/CLA.md'
path-to-signatures: 'signatures/cla.json'
branch: 'cla-signatures'
allowlist: 'dependabot[bot],dependabot-preview[bot]'