mirror of
https://github.com/tembo-pages/tembo-core.git
synced 2025-12-22 13:35:43 +00:00
chore: add latest actions
This commit is contained in:
2
.github/workflows/ok-to-test.yml
vendored
2
.github/workflows/ok-to-test.yml
vendored
@@ -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
|
||||
|
||||
15
.github/workflows/tests.yml
vendored
15
.github/workflows/tests.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user