diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml index e5ddd17..2ef55bf 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 + 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' - # 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