Skip Sonar in Merge Queue
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
e5d0c2ae7b
commit
3fe0325eab
1 changed files with 16 additions and 0 deletions
16
.github/workflows/tests.yaml
vendored
16
.github/workflows/tests.yaml
vendored
|
@ -41,3 +41,19 @@ jobs:
|
||||||
path: |
|
path: |
|
||||||
coverage
|
coverage
|
||||||
!coverage/lcov-report
|
!coverage/lcov-report
|
||||||
|
|
||||||
|
skip_sonar:
|
||||||
|
name: Skip SonarCloud in merge queue
|
||||||
|
if: github.event_name == 'merge_group'
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: jest
|
||||||
|
steps:
|
||||||
|
- name: Skip SonarCloud
|
||||||
|
uses: Sibz/github-status-action@071b5370da85afbb16637d6eed8524a06bc2053e # v1
|
||||||
|
with:
|
||||||
|
authToken: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
state: success
|
||||||
|
description: SonarCloud skipped
|
||||||
|
context: SonarCloud Code Analysis
|
||||||
|
sha: ${{ github.sha }}
|
||||||
|
target_url: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
|
||||||
|
|
Loading…
Reference in a new issue