Skip to content

Commit

Permalink
Attempt to prevent workflows being triggered on forks
Browse files Browse the repository at this point in the history
  • Loading branch information
lurch authored and kilograham committed Mar 5, 2021
1 parent 1413a4f commit 0755674
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ env:

jobs:
build:
if: github.repository_owner == 'raspberrypi'
runs-on: [self-hosted, Linux, X64]

steps:
Expand Down Expand Up @@ -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}}

0 comments on commit 0755674

Please sign in to comment.