mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 00:50:22 +00:00
CI: Add statement to ensure workflow runs only on serenity
This statement ensures that the `Sonar Cloud Static Analysis` workflow runs only for the official repository and not for the forks.
This commit is contained in:
parent
3164e22f9b
commit
706323beb1
Notes:
sideshowbarker
2024-07-18 04:20:53 +09:00
Author: https://github.com/r0x0d 🔰 Commit: https://github.com/SerenityOS/serenity/commit/706323beb1d Pull-request: https://github.com/SerenityOS/serenity/pull/9923
1 changed files with 1 additions and 0 deletions
|
@ -8,6 +8,7 @@ jobs:
|
|||
build:
|
||||
name: Static Analysis
|
||||
runs-on: ubuntu-latest
|
||||
if: always() && github.repository == 'SerenityOS/serenity' && github.ref == 'refs/heads/master'
|
||||
env:
|
||||
# Latest scanner version is tracked on: https://sonarcloud.io/documentation/analysis/scan/sonarscanner/
|
||||
SONAR_SCANNER_VERSION: 4.6.1.2450
|
||||
|
|
Loading…
Reference in a new issue