mirror of
https://github.com/tembo-pages/tembo-core.git
synced 2025-12-22 05: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:
|
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
|
||||||
|
|||||||
15
.github/workflows/tests.yml
vendored
15
.github/workflows/tests.yml
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user