Skip Sonar in Merge Queue

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/26911/head
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
1 changed files with 16 additions and 0 deletions

View File

@ -41,3 +41,19 @@ jobs:
path: |
coverage
!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 }}