Skip to content

Commit b97bfa1

Browse files
committed
reset dco file
1 parent d04d7f3 commit b97bfa1

File tree

2 files changed

+44
-53
lines changed

2 files changed

+44
-53
lines changed

.github/workflows/cla.yml

Lines changed: 0 additions & 53 deletions
This file was deleted.
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: "DCO 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+
checks: none
11+
contents: write
12+
deployments: none
13+
id-token: none
14+
issues: none
15+
discussions: none
16+
packages: none
17+
pages: none
18+
pull-requests: write
19+
repository-projects: none
20+
security-events: none
21+
statuses: write
22+
23+
jobs:
24+
DCOAssistant:
25+
if: github.repository_owner == 'NVIDIA-NeMo'
26+
runs-on: ubuntu-latest
27+
steps:
28+
- name: "DCO Assistant"
29+
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the Contributor Agreement including DCO and I hereby sign the Contributor Agreement and DCO') || github.event_name == 'pull_request_target'
30+
uses: contributor-assistant/[email protected]
31+
env:
32+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33+
PERSONAL_ACCESS_TOKEN: ${{ secrets.DCO_ASSISTANT_TOKEN }}
34+
with:
35+
path-to-signatures: "dco-signatures.json"
36+
path-to-document: 'https://github.com/NVIDIA-NeMo/DataDesigner/blob/main/DCO'
37+
branch: 'main'
38+
allowlist: dependabot
39+
create-file-commit-message: "chore: create file to store dco signatures"
40+
signed-commit-message: "chore: $contributorName has signed the dco in #$pullRequestNo"
41+
custom-notsigned-prcomment: "Thank you for your submission! We ask that $you sign our [Developer Certificate of Origin](https://github.com/NVIDIA-NeMo/DataDesigner/blob/main/DCO) before we can accept your contribution. You can sign the DCO by adding a comment below using this text:"
42+
custom-pr-sign-comment: "I have read the DCO document and I hereby sign the DCO."
43+
lock-pullrequest-aftermerge: false
44+
use-dco-flag: true

0 commit comments

Comments
 (0)