mirror of
https://github.com/tiennm99/open-domains.git
synced 2026-10-11 03:13:41 +00:00
Update cla.yml
This commit is contained in:
1 parent
88ca4f6782
commit
e9f2c2d5a7
1 file changed
+9
-1
@@ -32,14 +32,22 @@ jobs:
|
||||
remote-organization-name: 'open-domains'
|
||||
remote-repository-name: 'cla'
|
||||
|
||||
- name: add label
|
||||
- name: add CLA signed
|
||||
uses: actions-ecosystem/action-add-labels@v1
|
||||
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'
|
||||
with:
|
||||
labels: "CLA signed"
|
||||
github_token: ${{ steps.create_token.outputs.token }}
|
||||
|
||||
- name: remove CLA required
|
||||
uses: actions-ecosystem/action-remove-labels@v1
|
||||
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'
|
||||
with:
|
||||
labels: "CLA Required"
|
||||
github_token: ${{ steps.create_token.outputs.token }}
|
||||
|
||||
- if: ${{ failure() }}
|
||||
name: Add CLA required
|
||||
uses: actions-ecosystem/action-add-labels@v1
|
||||
with:
|
||||
labels: "CLA Required"
|
||||
|
||||
Reference in new issue
Block a user