Update cla.yml

This commit is contained in:
andrewstech authored and GitHub committed 2024-08-04 15:26:05 +01:00
1 parent 88ca4f6782
commit e9f2c2d5a7
1 file changed
+9 -1
+9 -1
View File
@@ -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"