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 Liam Fraser
parent 967cbc5c3d
commit 50acbb499d

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}}