From 98e03cfba5685c0ce5ee2e58c5c03f7a7065b6bc Mon Sep 17 00:00:00 2001 From: hamishfagg Date: Mon, 12 May 2025 10:51:26 +1200 Subject: [PATCH 1/2] fix cla token --- .github/workflows/cla.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml index e5ddd17..c8252f5 100644 --- a/.github/workflows/cla.yml +++ b/.github/workflows/cla.yml @@ -5,20 +5,23 @@ on: pull_request_target: types: [opened,closed,synchronize] +permissions: + actions: write + contents: write + pull-requests: write + statuses: write + jobs: CLAssistant: runs-on: ubuntu-latest steps: - name: "CLA Assistant" if: (github.event.comment.body == 'recheckcla' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request' - # Alpha Release - uses: cla-assistant/github-action@v2.1.3-beta + uses: cla-assistant/github-action@v2.6.1 env: - GITHUB_TOKEN: ${{ secrets.CLA_TOKEN }} - PERSONAL_ACCESS_TOKEN : ${{ secrets.CLA_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: path-to-signatures: 'assets/contributions-agreement/signatures/cla.json' - # Add path to the CLA here path-to-cla-document: 'https://github.com/mindsdb/mindsdb_native/blob/stable/assets/contributions-agreement/individual-contributor.md' branch: 'staging' allowlist: bot*, George3d6, ZoranPandovski, torrmal, Stpmax, maximlopin, paxcema, mindsdbadmin From c81e19407e5a6160db718ba52dd4110492e0207f Mon Sep 17 00:00:00 2001 From: hamishfagg Date: Mon, 12 May 2025 10:53:49 +1200 Subject: [PATCH 2/2] run on selfhosted runners --- .github/workflows/cla.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml index c8252f5..2ef55bf 100644 --- a/.github/workflows/cla.yml +++ b/.github/workflows/cla.yml @@ -13,7 +13,7 @@ permissions: jobs: CLAssistant: - runs-on: ubuntu-latest + runs-on: mdb-dev steps: - name: "CLA Assistant" if: (github.event.comment.body == 'recheckcla' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request'