Skip to content

Commit 482d965

Browse files
liamfraserkilograham
authored andcommitted
Update cmake workflow to trigger on push + pull request. Only run in raspberry pi repo (not on forks)
1 parent 47cee38 commit 482d965

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/cmake.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
name: CMake
2-
on: [push]
2+
on: [push, pull_request]
33

44
env:
55
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
66
BUILD_TYPE: Release
77

88
jobs:
99
build:
10+
if: github.repository_owner == 'raspberrypi'
1011
runs-on: [self-hosted, Linux, X64]
1112

1213
steps:

0 commit comments

Comments
 (0)