diff --git a/.github/workflows/ok-to-test.yml b/.github/workflows/ok-to-test.yml index 7d04fee..5bb0a39 100644 --- a/.github/workflows/ok-to-test.yml +++ b/.github/workflows/ok-to-test.yml @@ -16,7 +16,7 @@ jobs: env: TOKEN: ${{ steps.generate_token.outputs.token }} with: - token: ${{ secrets.PAT }} # PAT or OAuth token will also work + token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} # PAT or OAuth token will also work issue-type: pull-request commands: ok-to-test named-args: true diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 82bbcf0..1075c6a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -62,7 +62,7 @@ jobs: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} # Repo owner has commented /ok-to-test on a (fork-based) pull request - tests-not-trusted: + tests-external: runs-on: ubuntu-latest if: github.event_name == 'repository_dispatch' && github.event.client_payload.slash_command.sha != '' && @@ -113,12 +113,13 @@ jobs: run: | source .venv/bin/activate prospector "./tembo" - # Upload to sonarcloud - - name: SonarCloud Scan - uses: sonarsource/sonarcloud-github-action@master - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + # # Upload to sonarcloud + # NOT WORKING - NOT SUPPORTED BY SONARCLOUD + # - name: SonarCloud Scan + # uses: sonarsource/sonarcloud-github-action@master + # env: + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} # Update check run called "integration-fork" - uses: actions/github-script@v1