.github: restrict sonar and CI actions to only apache/cloudstack

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
Rohit Yadav 2023-05-10 14:07:29 +05:30
parent 66cbe0a051
commit 0e4a5a1fa4
2 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,7 @@ concurrency:
jobs:
build:
if: github.repository == 'apache/cloudstack'
runs-on: ubuntu-22.04
strategy:

View File

@ -24,6 +24,7 @@ on:
jobs:
build:
if: github.repository == 'apache/cloudstack'
name: Main Sonar JaCoCo Build
runs-on: ubuntu-22.04
steps: