From 0446cfa1e24dcc92105f44e2840aabb66608a884 Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Mon, 9 May 2022 17:19:45 +0200 Subject: [PATCH 1/2] Add cla action. --- .github/workflows/cla.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/cla.yml diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml new file mode 100644 index 00000000..4436048b --- /dev/null +++ b/.github/workflows/cla.yml @@ -0,0 +1,31 @@ +name: CLA + +on: + issue_comment: + types: + - created + pull_request_target: + types: + - reopened + - opened + - synchronize + +jobs: + check: + if: >- + !github.event.repository.fork + && ( + github.event.comment.body == '@conda-bot check' + || github.event_name == 'pull_request_target' + ) + runs-on: ubuntu-latest + steps: + - name: Check CLA + uses: conda/actions/check-cla@v22.5.0 + with: + # [required] + # label to add when actor has signed the CLA + label: cla-signed + # [required] + # the GitHub Personal Access Token to comment and label with + token: "${{ secrets.CLA_ACTION_TOKEN }}" From 2c808cd8c3d0a23b33ffb743e0c45723fccc12dc Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Mon, 9 May 2022 17:21:34 +0200 Subject: [PATCH 2/2] Update file sync. --- .github/sync.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/sync.yml b/.github/sync.yml index b03b361e..2eaf9027 100644 --- a/.github/sync.yml +++ b/.github/sync.yml @@ -32,6 +32,9 @@ group: # lock issues - source: .github/workflows/lock.yml dest: .github/workflows/lock.yml + # CLA check + - source: .github/workflows/cla.yml + dest: .github/workflows/cla.yml # epic issue form - source: .github/ISSUE_TEMPLATE/epic.yml dest: .github/ISSUE_TEMPLATE/epic.yml