Skip to content

Commit f90bbf0

Browse files
authored
Avoid running CI when syncing a fork (#48)
1 parent fb70966 commit f90bbf0

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/pipeline-ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,34 +11,42 @@ jobs:
1111
run-bvt-lint:
1212
uses: ./.github/workflows/bvt-lint.yml
1313
name: Run BVT for lint
14+
if: github.event_name != 'push' || github.repository == 'ngcpp/proxy'
1415

1516
run-bvt-gcc:
1617
uses: ./.github/workflows/bvt-gcc.yml
1718
name: Run BVT with GCC
19+
if: github.event_name != 'push' || github.repository == 'ngcpp/proxy'
1820

1921
run-bvt-clang:
2022
uses: ./.github/workflows/bvt-clang.yml
2123
name: Run BVT with Clang
24+
if: github.event_name != 'push' || github.repository == 'ngcpp/proxy'
2225

2326
run-bvt-msvc:
2427
uses: ./.github/workflows/bvt-msvc.yml
2528
name: Run BVT with MSVC
29+
if: github.event_name != 'push' || github.repository == 'ngcpp/proxy'
2630

2731
run-bvt-appleclang:
2832
uses: ./.github/workflows/bvt-appleclang.yml
2933
name: Run BVT with AppleClang
34+
if: github.event_name != 'push' || github.repository == 'ngcpp/proxy'
3035

3136
run-bvt-nvhpc:
3237
uses: ./.github/workflows/bvt-nvhpc.yml
3338
name: Run BVT with NVHPC
39+
if: github.event_name != 'push' || github.repository == 'ngcpp/proxy'
3440

3541
run-bvt-oneapi:
3642
uses: ./.github/workflows/bvt-oneapi.yml
3743
name: Run BVT with Intel oneAPI
44+
if: github.event_name != 'push' || github.repository == 'ngcpp/proxy'
3845

3946
run-bvt-compatibility:
4047
uses: ./.github/workflows/bvt-compatibility.yml
4148
name: Run BVT for compatibility
49+
if: github.event_name != 'push' || github.repository == 'ngcpp/proxy'
4250

4351
report:
4452
uses: ./.github/workflows/bvt-report.yml

0 commit comments

Comments
 (0)