chore: add latest actions

This commit is contained in:
2021-11-24 21:08:28 +00:00
parent 864920051e
commit ec3638f23d
2 changed files with 9 additions and 8 deletions

View File

@@ -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

View File

@@ -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