forked from directus/directus
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (26 loc) · 1.09 KB
/
cla.yml
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
30
31
32
33
name: CLA Assistant
on:
pull_request_target:
types:
- opened
- synchronize
permissions:
pull-requests: write
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- id: check
uses: directus/[email protected]
- if: failure() && steps.check.outputs.missing
uses: marocchino/sticky-pull-request-comment@v2
with:
message: |
Hi ${{steps.check.outputs.missing}}!
Thank you for contributing to Directus! Before we consider your Pull Request, we ask that you sign [our Contributor License Agreement (CLA)](https://github.com/directus/directus/blob/main/cla.md). This is only required for your first Pull Request.
Please [review the CLA](https://github.com/directus/directus/blob/main/cla.md), and sign it by adding your GitHub username to [the contributors.yml file](https://github.com/${{github.event.pull_request.head.repo.full_name}}/blob/${{github.head_ref}}/contributors.yml). Thanks!
- if: success()
uses: marocchino/sticky-pull-request-comment@v2
with:
delete: true