Attempt to prevent workflows being triggered on forks
This commit is contained in:
parent
1413a4f470
commit
0755674cc4
3
.github/workflows/cmake.yml
vendored
3
.github/workflows/cmake.yml
vendored
@ -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}}
|
||||
|
Loading…
Reference in New Issue
Block a user