Skip to content

Commit 0e4a5a1

Browse files
committed
.github: restrict sonar and CI actions to only apache/cloudstack
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
1 parent 66cbe0a commit 0e4a5a1

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ concurrency:
2525

2626
jobs:
2727
build:
28+
if: github.repository == 'apache/cloudstack'
2829
runs-on: ubuntu-22.04
2930

3031
strategy:

.github/workflows/main-sonar-check.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ on:
2424

2525
jobs:
2626
build:
27+
if: github.repository == 'apache/cloudstack'
2728
name: Main Sonar JaCoCo Build
2829
runs-on: ubuntu-22.04
2930
steps:

0 commit comments

Comments
 (0)