From 88ca4f67828a5f0f5d18e039a764874efe200f1b Mon Sep 17 00:00:00 2001 From: andrewstech Date: Sun, 4 Aug 2024 15:20:01 +0100 Subject: [PATCH] Update cla.yml --- .github/workflows/cla.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml index f039f1d7..e13b6079 100644 --- a/.github/workflows/cla.yml +++ b/.github/workflows/cla.yml @@ -31,3 +31,19 @@ jobs: allowlist: od-bot,bot*,Omxpro remote-organization-name: 'open-domains' remote-repository-name: 'cla' + + - name: add label + 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 }} + + - if: ${{ failure() }} + uses: actions-ecosystem/action-add-labels@v1 + with: + labels: "CLA Required" + github_token: ${{ steps.create_token.outputs.token }} + + +