Skip to content

Commit 0f1bcea

Browse files
committed
.github: only run main workflow on kernelkit/main
Avoid trying to run on forks, which most likely will cause erros and other ugliness. Signed-off-by: Richard Alpe <[email protected]>
1 parent aefdcb2 commit 0f1bcea

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/trigger.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,27 +11,31 @@ on:
1111

1212
jobs:
1313
build-x86_64:
14+
if: github.repository == 'kernelkit/infix'
1415
uses: ./.github/workflows/build.yml
1516
with:
1617
target: "x86_64"
1718
name: "infix"
1819
flavor: "_minimal"
1920

2021
build-aarch64:
22+
if: github.repository == 'kernelkit/infix'
2123
uses: ./.github/workflows/build.yml
2224
with:
2325
target: "aarch64"
2426
name: "infix"
2527
flavor: "_minimal"
2628

2729
test-run-x86_64:
30+
if: github.repository == 'kernelkit/infix'
2831
needs: build-x86_64
2932
uses: ./.github/workflows/test.yml
3033
with:
3134
target: "x86_64"
3235
name: "infix"
3336

3437
test-publish-x86_64:
38+
if: github.repository == 'kernelkit/infix'
3539
needs: test-run-x86_64
3640
uses: ./.github/workflows/publish.yml
3741

0 commit comments

Comments
 (0)