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: env:
TOKEN: ${{ steps.generate_token.outputs.token }} TOKEN: ${{ steps.generate_token.outputs.token }}
with: 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 issue-type: pull-request
commands: ok-to-test commands: ok-to-test
named-args: true named-args: true

View File

@@ -62,7 +62,7 @@ jobs:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
# Repo owner has commented /ok-to-test on a (fork-based) pull request # Repo owner has commented /ok-to-test on a (fork-based) pull request
tests-not-trusted: tests-external:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.event_name == 'repository_dispatch' && if: github.event_name == 'repository_dispatch' &&
github.event.client_payload.slash_command.sha != '' && github.event.client_payload.slash_command.sha != '' &&
@@ -113,12 +113,13 @@ jobs:
run: | run: |
source .venv/bin/activate source .venv/bin/activate
prospector "./tembo" prospector "./tembo"
# Upload to sonarcloud # # Upload to sonarcloud
- name: SonarCloud Scan # NOT WORKING - NOT SUPPORTED BY SONARCLOUD
uses: sonarsource/sonarcloud-github-action@master # - name: SonarCloud Scan
env: # uses: sonarsource/sonarcloud-github-action@master
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
# Update check run called "integration-fork" # Update check run called "integration-fork"
- uses: actions/github-script@v1 - uses: actions/github-script@v1