Skip to content

Commit 28b0763

Browse files
authored
Don't run native binary workflows in forks. (#2018)
1 parent 0b60f1c commit 28b0763

File tree

12 files changed

+17
-5
lines changed

12 files changed

+17
-5
lines changed

.github/workflows/assimp.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ on:
1212
- .github/workflows/assimp.yml
1313
jobs:
1414
Build:
15-
strategy:
15+
if: github.repository == 'dotnet/Silk.NET'
16+
strategy:
1617
fail-fast: false
1718
matrix:
1819
env:

.github/workflows/dxvk.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ on:
1212
- "main"
1313
jobs:
1414
Build:
15-
strategy:
15+
if: github.repository == 'dotnet/Silk.NET'
16+
strategy:
1617
fail-fast: false
1718
matrix:
1819
env:

.github/workflows/glfw.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ on:
1212
- .github/workflows/glfw.yml
1313
jobs:
1414
Build:
15-
strategy:
15+
if: github.repository == 'dotnet/Silk.NET'
16+
strategy:
1617
fail-fast: false
1718
matrix:
1819
env:

.github/workflows/moltenvk.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on:
1212
- .github/workflows/moltenvk.yml
1313
jobs:
1414
Build:
15+
if: github.repository == 'dotnet/Silk.NET'
1516
strategy:
1617
fail-fast: false
1718
matrix:

.github/workflows/sdl2.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on:
1212
- .github/workflows/sdl2.yml
1313
jobs:
1414
Build:
15+
if: github.repository == 'dotnet/Silk.NET'
1516
strategy:
1617
fail-fast: false
1718
matrix:

.github/workflows/shaderc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on:
1212
- .github/workflows/shaderc.yml
1313
jobs:
1414
Build:
15+
if: github.repository == 'dotnet/Silk.NET'
1516
strategy:
1617
fail-fast: false
1718
matrix:

.github/workflows/spirv-cross.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on:
1212
- .github/workflows/spirv-cross.yml
1313
jobs:
1414
Build:
15+
if: github.repository == 'dotnet/Silk.NET'
1516
strategy:
1617
fail-fast: false
1718
matrix:

.github/workflows/spirv-reflect.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on:
1212
- .github/workflows/spirv-reflect.yml
1313
jobs:
1414
Build:
15+
if: github.repository == 'dotnet/Silk.NET'
1516
strategy:
1617
fail-fast: false
1718
matrix:

.github/workflows/swiftshader.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ on:
1212
- "main"
1313
jobs:
1414
Build:
15-
strategy:
15+
if: github.repository == 'dotnet/Silk.NET'
16+
strategy:
1617
fail-fast: false
1718
matrix:
1819
env:

.github/workflows/vkd3d.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ on:
1515
- src/Microsoft/Vkd3dCompiler/*
1616
jobs:
1717
Build:
18+
if: github.repository == 'dotnet/Silk.NET'
1819
strategy:
1920
fail-fast: false
2021
matrix:

0 commit comments

Comments
 (0)