Skip Sonar in Merge Queue

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2024-01-22 13:07:23 +00:00
parent e5d0c2ae7b
commit 3fe0325eab
No known key found for this signature in database
GPG key ID: A2B008A5F49F5D0D

View file

@ -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 }}