mirror of
https://github.com/raspberrypi/pico-sdk.git
synced 2025-02-11 00:39:55 +00:00
filter pull request source for pull_request to avoid IAR (#1289)
This commit is contained in:
parent
67b0a11d3e
commit
18479e0300
5
.github/workflows/cmake.yml
vendored
5
.github/workflows/cmake.yml
vendored
@ -4,8 +4,6 @@ on:
|
||||
branches-ignore:
|
||||
- 'iar/**'
|
||||
pull_request:
|
||||
branches-ignore:
|
||||
- 'iar/**'
|
||||
|
||||
env:
|
||||
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
|
||||
@ -13,7 +11,8 @@ env:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
if: github.repository_owner == 'raspberrypi'
|
||||
# cannot specify filter for pull_request in on: above, so do it here
|
||||
if: github.repository_owner == 'raspberrypi' && (github.event_name != 'pull_request' || !startsWith(github.head_ref, 'iar/'))
|
||||
runs-on: [self-hosted, Linux, X64]
|
||||
|
||||
steps:
|
||||
|
Loading…
x
Reference in New Issue
Block a user