diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml index 8497757..99dad50 100644 --- a/.github/workflows/cla.yml +++ b/.github/workflows/cla.yml @@ -3,20 +3,25 @@ on: issue_comment: types: [created] pull_request_target: - types: [opened,closed,synchronize] + 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 == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target' uses: contributor-assistant/github-action@v2.6.1 - env: - GITHUB_TOKEN: ${{ secrets.CLA_TOKEN }} - PERSONAL_ACCESS_TOKEN : ${{ secrets.CLA_TOKEN }} - with: + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: path-to-signatures: 'assets/contributions-agreement/cla.json' - # Add path to the CLA here path-to-document: 'https://github.com/mindsdb/mindsdb/blob/main/assets/contributions-agreement/individual-contributor.md' branch: 'cla' allowlist: bot*, ZoranPandovski, torrmal, Stpmax, mindsdbadmin, ea-rus, tmichaeldb, dusvyat, hamishfagg, MinuraPunchihewa, martyna-mindsdb, lucas-koontz diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6cd0a59..a7eeb16 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,11 +31,6 @@ jobs: fi shell: bash - env: - CHECK_FOR_UPDATES: False - DATABASE_CREDENTIALS_STRINGIFIED_JSON: ${{ secrets.DATABASE_CREDENTIALS }} - CLOUD_TEST_EMAIL: ${{ secrets.CLOUD_TEST_EMAIL }} - CLOUD_TEST_PASSWORD: ${{ secrets.CLOUD_TEST_PASSWORD }} deploy: diff --git a/.github/workflows/test_prs.yml b/.github/workflows/test_prs.yml index 9a17b99..943e7f9 100644 --- a/.github/workflows/test_prs.yml +++ b/.github/workflows/test_prs.yml @@ -32,11 +32,6 @@ jobs: fi shell: bash - env: - CHECK_FOR_UPDATES: False - DATABASE_CREDENTIALS_STRINGIFIED_JSON: ${{ secrets.DATABASE_CREDENTIALS }} - CLOUD_TEST_EMAIL: ${{ secrets.CLOUD_TEST_EMAIL }} - CLOUD_TEST_PASSWORD: ${{ secrets.CLOUD_TEST_PASSWORD }} coverage: needs: test