mirror of
https://github.com/raspberrypi/pico-sdk.git
synced 2025-04-16 05:42:56 +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:
|
branches-ignore:
|
||||||
- 'iar/**'
|
- 'iar/**'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches-ignore:
|
|
||||||
- 'iar/**'
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
|
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
|
||||||
@ -13,7 +11,8 @@ env:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
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]
|
runs-on: [self-hosted, Linux, X64]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user