You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the {{ cookiecutter.contribution_model | upper }} Document and I hereby sign the {{ cookiecutter.contribution_model | upper }}') || github.event_name == 'pull_request_target'
55
+
if: >-
56
+
(github.event.comment.body == 'recheck' ||
57
+
github.event.comment.body == 'I have read the {{ cookiecutter.contribution_model | upper }} Document and I hereby sign the {{ cookiecutter.contribution_model | upper }}') ||
path-to-document: "{{ cookiecutter.github_io }}/manual/developer-resources/{{ cookiecutter.contribution_model | lower }}" # e.g. a CLA or a DCO document
# the followings are the optional inputs - If the optional inputs are not given, then default values will be taken
69
-
# remote-organization-name: enter the remote organization name where the signatures should be stored (Default is storing the signatures in the same repository)
70
-
# remote-repository-name: enter the remote repository name where the signatures should be stored (Default is storing the signatures in the same repository)
69
+
# If the below optional inputs are not given, then default values will be taken:
signed-commit-message: "chore({{ cookiecutter.contribution_model | upper }}): $contributorName has signed the {{ cookiecutter.contribution_model | upper }}."
73
72
# custom-notsigned-prcomment: "pull request comment with Introductory message to ask new contributors to sign"
74
73
# custom-pr-sign-comment: "The signature to be committed in order to sign the {{ cookiecutter.contribution_model | upper }}"
75
-
# custom-allsigned-prcomment: "pull request comment when all contributors has signed, defaults to **{{ cookiecutter.contribution_model | upper }} Assistant Lite bot** All Contributors have signed the {{ cookiecutter.contribution_model | upper }}."
76
-
# lock-pullrequest-aftermerge: false - if you don"t want this bot to automatically lock the pull request after merging (default - true)
77
-
use-dco-flag: {{ true if cookiecutter.contribution_model|lower == 'dco' else false }} # If you are using DCO instead of CLA
74
+
# custom-allsigned-prcomment: "**{{ cookiecutter.contribution_model | upper }} Assistant Lite bot** All Contributors have signed the {{ cookiecutter.contribution_model | upper }}."
75
+
lock-pullrequest-aftermerge: true
76
+
use-dco-flag: {{ 'true' if cookiecutter.contribution_model|lower == 'dco' else 'false' }} # If you are using DCO instead of CLA
Copy file name to clipboardExpand all lines: .github/workflows/cla.yml
+12-12Lines changed: 12 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,8 @@ on:
27
27
synchronize
28
28
]
29
29
30
-
# explicitly configure permissions, in case your GITHUB_TOKEN workflow permissions are set to read-only in repository settings
30
+
# explicitly configure permissions, in case your GITHUB_TOKEN
31
+
# workflow permissions are set to read-only in repository settings
31
32
permissions:
32
33
actions: write
33
34
contents: write # this can be 'read' if the signatures are in remote repository
@@ -39,26 +40,25 @@ jobs:
39
40
runs-on: ubuntu-latest
40
41
steps:
41
42
- name: "CLA Assistant"
42
-
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
43
+
if: >-
44
+
(github.event.comment.body == 'recheck' ||
45
+
github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') ||
46
+
github.event_name == 'pull_request_target'
43
47
uses: contributor-assistant/github-action@v2.6.1
44
48
env:
45
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # the below token should have repo scope and must be manually added by you in the repository's secret
46
-
# This token is required only if you have configured to store the signatures in a remote repository/organization
# the followings are the optional inputs - If the optional inputs are not given, then default values will be taken
56
-
# remote-organization-name: enter the remote organization name where the signatures should be stored (Default is storing the signatures in the same repository)
57
-
# remote-repository-name: enter the remote repository name where the signatures should be stored (Default is storing the signatures in the same repository)
57
+
# If the below optional inputs are not given, then default values will be taken:
58
58
create-file-commit-message: "chore(CLA): Creating file for storing CLA Signatures."
59
59
signed-commit-message: "chore(CLA): $contributorName has signed the CLA."
60
60
# custom-notsigned-prcomment: "pull request comment with Introductory message to ask new contributors to sign"
61
61
# custom-pr-sign-comment: "The signature to be committed in order to sign the CLA"
62
-
# custom-allsigned-prcomment: "pull request comment when all contributors has signed, defaults to **CLA Assistant Lite bot** All Contributors have signed the CLA."
63
-
#lock-pullrequest-aftermerge: false - if you don"t want this bot to automatically lock the pull request after merging (default - true)
64
-
use-dco-flag: False# If you are using DCO instead of CLA
62
+
# custom-allsigned-prcomment: "**CLA Assistant Lite bot** All Contributors have signed the CLA."
63
+
lock-pullrequest-aftermerge: true
64
+
use-dco-flag: false# If you are using DCO instead of CLA
0 commit comments