mirror of
https://github.com/tembo-pages/tembo-core.git
synced 2025-12-22 13:35:43 +00:00
Merge branch 'develop' into develop
This commit is contained in:
11
.github/workflows/ok-to-test.yml
vendored
11
.github/workflows/ok-to-test.yml
vendored
@@ -11,17 +11,6 @@ jobs:
|
|||||||
# Only run for PRs, not issue comments
|
# Only run for PRs, not issue comments
|
||||||
if: ${{ github.event.issue.pull_request }}
|
if: ${{ github.event.issue.pull_request }}
|
||||||
steps:
|
steps:
|
||||||
# Generate a GitHub App installation access token from an App ID and private key
|
|
||||||
# To create a new GitHub App:
|
|
||||||
# https://developer.github.com/apps/building-github-apps/creating-a-github-app/
|
|
||||||
# See app.yml for an example app manifest
|
|
||||||
- name: Generate token
|
|
||||||
id: generate_token
|
|
||||||
uses: tibdex/github-app-token@v1
|
|
||||||
with:
|
|
||||||
app_id: ${{ secrets.APP_ID }}
|
|
||||||
private_key: ${{ secrets.PRIVATE_KEY }}
|
|
||||||
|
|
||||||
- name: Slash Command Dispatch
|
- name: Slash Command Dispatch
|
||||||
uses: peter-evans/slash-command-dispatch@v1
|
uses: peter-evans/slash-command-dispatch@v1
|
||||||
env:
|
env:
|
||||||
|
|||||||
3
.github/workflows/tests.yml
vendored
3
.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
|
||||||
test-not-trusted:
|
tests-not-trusted:
|
||||||
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 != '' &&
|
||||||
@@ -74,6 +74,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
# disable shallow clones for better sonarcloud accuracy
|
# disable shallow clones for better sonarcloud accuracy
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
ref: 'refs/pull/${{ github.event.client_payload.pull_request.number }}/merge'
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user