Attempt to prevent workflows being triggered on forks

This commit is contained in:
Andrew Scheller 2021-03-03 14:27:02 +00:00 committed by graham sanderson
parent 1413a4f470
commit 0755674cc4

View File

@ -7,6 +7,7 @@ env:
jobs:
build:
if: github.repository_owner == 'raspberrypi'
runs-on: [self-hosted, Linux, X64]
steps:
@ -45,4 +46,4 @@ jobs:
working-directory: ${{github.workspace}}/build
shell: bash
# Execute the build. You can specify a specific target with "--target <NAME>"
run: cmake --build . --config $BUILD_TYPE --parallel ${{steps.core_count.outputs.output}}
run: cmake --build . --config $BUILD_TYPE --parallel ${{steps.core_count.outputs.output}}