Skip to content

Commit d04d7f3

Browse files
committed
copy garak workflow
1 parent f4b8163 commit d04d7f3

File tree

1 file changed

+17
-8
lines changed

1 file changed

+17
-8
lines changed

.github/workflows/cla.yml

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,24 +21,33 @@ permissions:
2121
statuses: write
2222

2323
jobs:
24-
DCOAssistant:
24+
CLAAssistant:
2525
if: github.repository_owner == 'NVIDIA-NeMo'
2626
runs-on: ubuntu-latest
2727
steps:
2828
- name: "CA & DCO Assistant"
29-
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the DCO document and I hereby sign the DCO.') || github.event_name == 'pull_request_target'
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'
3030
uses: cla-assistant/github-action@v2.3.2
3131
env:
3232
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33+
# the below token should have repo scope and must be manually added by you in the repository's secret
34+
# This token is required only if you have configured to store the signatures in a remote repository/organization
3335
PERSONAL_ACCESS_TOKEN: ${{ secrets.DCO_ASSISTANT_TOKEN }}
3436
with:
3537
path-to-signatures: "dco-signatures.json"
3638
path-to-document: 'https://github.com/NVIDIA-NeMo/DataDesigner/blob/main/DCO'
39+
# branch should not be protected
3740
branch: 'signatures'
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
4441
use-dco-flag: true
42+
allowlist:
43+
44+
# the followings are the optional inputs - If the optional inputs are not given, then default values will be taken
45+
#remote-organization-name: enter the remote organization name where the signatures should be stored (Default is storing the signatures in the same repository)
46+
#remote-repository-name: enter the remote repository name where the signatures should be stored (Default is storing the signatures in the same repository)
47+
#create-file-commit-message: 'For example: Creating file for storing CLA Signatures'
48+
#signed-commit-message: 'For example: $contributorName has signed the CLA in $owner/$repo#$pullRequestNo'
49+
#custom-notsigned-prcomment: 'pull request comment with Introductory message to ask new contributors to sign'
50+
#custom-pr-sign-comment: 'The signature to be committed in order to sign the CLA'
51+
#custom-allsigned-prcomment: 'pull request comment when all contributors has signed, defaults to **CLA Assistant Lite bot** All Contributors have signed the CLA.'
52+
#lock-pullrequest-aftermerge: false - if you don't want this bot to automatically lock the pull request after merging (default - true)
53+
#use-dco-flag: true - If you are using DCO instead of CLA

0 commit comments

Comments
 (0)