-
Notifications
You must be signed in to change notification settings - Fork 4
38 lines (36 loc) · 1.57 KB
/
dco.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
34
35
36
37
38
name: "DCO Assistant"
on:
issue_comment:
types: [ created ]
pull_request_target:
types: [ opened, closed, synchronize ]
permissions:
actions: write
contents: write
pull-requests: write
statuses: write
jobs:
DCO:
runs-on: ubuntu-latest
steps:
- name: "DCO Assistant"
if: (
github.event.comment.body == 'recheck' ||
github.event.comment.body == 'I have read and hereby affirm the entire contents of the Developer Certificate of Origin.'
) || github.event_name == 'pull_request_target'
uses: cla-assistant/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
path-to-signatures: "signatures.json"
path-to-document: "https://github.com/Nolij/Zume/blob/dco/DCO.txt"
branch: "dco"
create-file-commit-message: "Create DCO signature list"
signed-commit-message: "Add $contributorName to the DCO signature list"
custom-notsigned-prcomment:
"Before we can merge your submission, we require that you read and affirm the contents of the
[Developer Certificate of Origin](https://github.com/Nolij/Zume/blob/dco/DCO.txt) by adding a comment containing the below text.
Otherwise, please close this PR."
custom-pr-sign-comment: "I have read and hereby affirm the entire contents of the Developer Certificate of Origin."
custom-allsigned-prcomment: "All contributors have read and affirmed the entire contents of the Developer Certificate of Origin."
use-dco-flag: true