Skip to content

Commit 27b5f3a

Browse files
Fix duplicate CI runs for both push and pull_request events (project-chip#35880)
* Update darwin-tests.yaml * Update examples-cc13xx_26xx.yaml * Update examples-linux-tv-casting-app.yaml * Update examples-nxp.yaml * Update chef.yaml * Update cirque.yaml * Update darwin.yaml * Update examples-ameba.yaml * Update examples-asr.yaml * Update examples-efr32.yaml * Update examples-esp32.yaml * Update examples-linux-imx.yaml * Update examples-linux-standalone.yaml * Update examples-mw320.yaml * Update examples-nrfconnect.yaml * Update examples-qpg.yaml * Update examples-stm32.yaml * Update examples-tizen.yaml * Update gradle-wrapper-validation.yml * Update spell.yml * Update tests.yaml * Update zap_templates.yaml * Update build.yaml * Update examples-bouffalolab.yaml * Update examples-cc32xx.yaml * Update examples-infineon.yaml * Update examples-linux-arm.yaml * Update examples-telink.yaml * Update full-android.yaml * Update java-tests.yaml * Update lint.yml * Update minimal-build.yaml * Update qemu.yaml * Update unit_integration_test.yaml * Update example-tv-casting-darwin.yaml * Update examples-nuttx.yaml * Update doxygen.yaml * Update build.yaml * Update chef.yaml * Update cirque.yaml * Update darwin-tests.yaml * Update darwin.yaml * Update doxygen.yaml * Update example-tv-casting-darwin.yaml * Update examples-ameba.yaml * Update examples-asr.yaml * Update examples-bouffalolab.yaml * Update examples-cc13xx_26xx.yaml * Update examples-cc32xx.yaml * Update examples-efr32.yaml * Update examples-esp32.yaml * Update examples-infineon.yaml * Update examples-linux-arm.yaml * Update examples-linux-imx.yaml * Update examples-linux-standalone.yaml * Update examples-linux-tv-casting-app.yaml * Update examples-mw320.yaml * Update examples-nrfconnect.yaml * Update examples-nuttx.yaml * Update examples-nxp.yaml * Update examples-qpg.yaml * Update examples-stm32.yaml * Update examples-telink.yaml * Update examples-tizen.yaml * Update full-android.yaml * Update gradle-wrapper-validation.yml * Update java-tests.yaml * Update lint.yml * Update minimal-build.yaml * Update qemu.yaml * Update spell.yml * Update tests.yaml * Update unit_integration_test.yaml * Update zap_templates.yaml * Put back the original efr32 workflow to check runs * Update examples-efr32.yaml --------- Co-authored-by: Andrei Litvin <andy314@gmail.com>
1 parent 79fcb91 commit 27b5f3a

37 files changed

+111
-70
lines changed

.github/workflows/build.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ name: Builds
1616

1717
on:
1818
push:
19-
branches-ignore:
20-
- 'dependabot/**'
19+
branches:
20+
- master
21+
- 'v*-branch'
2122
pull_request:
2223
merge_group:
2324
workflow_dispatch:

.github/workflows/chef.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ name: Build Chef CI examples on all platforms
1616

1717
on:
1818
push:
19-
branches-ignore:
20-
- 'dependabot/**'
19+
branches:
20+
- master
21+
- 'v*-branch'
2122
pull_request:
2223
merge_group:
2324

.github/workflows/cirque.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ name: Cirque
1616

1717
on:
1818
push:
19-
branches-ignore:
20-
- 'dependabot/**'
19+
branches:
20+
- master
21+
- 'v*-branch'
2122
pull_request:
2223
merge_group:
2324
workflow_dispatch:

.github/workflows/darwin-tests.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ name: Darwin Tests
1616

1717
on:
1818
push:
19-
branches-ignore:
20-
- 'dependabot/**'
19+
branches:
20+
- master
21+
- 'v*-branch'
2122
pull_request:
2223
merge_group:
2324
workflow_dispatch:

.github/workflows/darwin.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ name: Darwin
1616

1717
on:
1818
push:
19-
branches-ignore:
20-
- "dependabot/**"
19+
branches:
20+
- master
21+
- 'v*-branch'
2122
pull_request:
2223
merge_group:
2324
workflow_dispatch:

.github/workflows/doxygen.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ name: Doxygen
1616

1717
on:
1818
push:
19+
branches:
20+
- master
21+
- 'v*-branch'
1922
paths:
2023
- "**.do[xc]"
2124
- "**.c[cs]?"

.github/workflows/example-tv-casting-darwin.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ name: TV Casting Example - Darwin
1616

1717
on:
1818
push:
19-
branches-ignore:
20-
- "dependabot/**"
19+
branches:
20+
- master
21+
- 'v*-branch'
2122
pull_request:
2223
merge_group:
2324
workflow_dispatch:

.github/workflows/examples-ameba.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ name: Build example - Ameba
1616

1717
on:
1818
push:
19-
branches-ignore:
20-
- 'dependabot/**'
19+
branches:
20+
- master
21+
- 'v*-branch'
2122
pull_request:
2223
merge_group:
2324

.github/workflows/examples-asr.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ name: Build example - ASR
1616

1717
on:
1818
push:
19-
branches-ignore:
20-
- 'dependabot/**'
19+
branches:
20+
- master
21+
- 'v*-branch'
2122
pull_request:
2223
merge_group:
2324

.github/workflows/examples-bouffalolab.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ name: Build example - BouffaloLab
1616

1717
on:
1818
push:
19-
branches-ignore:
20-
- 'dependabot/**'
19+
branches:
20+
- master
21+
- 'v*-branch'
2122
pull_request:
2223
merge_group:
2324
workflow_dispatch:

.github/workflows/examples-cc13xx_26xx.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ name: Build example - TI CC13XX_26XX
1616

1717
on:
1818
push:
19-
branches-ignore:
20-
- "dependabot/**"
19+
branches:
20+
- master
21+
- 'v*-branch'
2122
pull_request:
2223
merge_group:
2324

.github/workflows/examples-cc32xx.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ name: Build example - TI CC32XX
1717
on:
1818
workflow_dispatch:
1919
push:
20-
branches-ignore:
21-
- "dependabot/**"
20+
branches:
21+
- master
22+
- 'v*-branch'
2223
pull_request:
2324
merge_group:
2425

.github/workflows/examples-efr32.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ name: Build example - EFR32
1616

1717
on:
1818
push:
19-
branches-ignore:
20-
- 'dependabot/**'
19+
branches:
20+
- master
21+
- 'v*-branch'
2122
pull_request:
2223
merge_group:
2324

.github/workflows/examples-esp32.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ name: Build example - ESP32
1616

1717
on:
1818
push:
19-
branches-ignore:
20-
- 'dependabot/**'
19+
branches:
20+
- master
21+
- 'v*-branch'
2122
pull_request:
2223
merge_group:
2324

.github/workflows/examples-infineon.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ name: Build example - Infineon
1616

1717
on:
1818
push:
19-
branches-ignore:
20-
- 'dependabot/**'
19+
branches:
20+
- master
21+
- 'v*-branch'
2122
pull_request:
2223
merge_group:
2324
workflow_dispatch:

.github/workflows/examples-linux-arm.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ name: Build example - Linux ARM
1616

1717
on:
1818
push:
19-
branches-ignore:
20-
- 'dependabot/**'
19+
branches:
20+
- master
21+
- 'v*-branch'
2122
pull_request:
2223
merge_group:
2324

.github/workflows/examples-linux-imx.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ name: Build example - i.MX Linux
1616

1717
on:
1818
push:
19-
branches-ignore:
20-
- 'dependabot/**'
19+
branches:
20+
- master
21+
- 'v*-branch'
2122
pull_request:
2223
merge_group:
2324

.github/workflows/examples-linux-standalone.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ name: Build example - Linux Standalone
1616

1717
on:
1818
push:
19-
branches-ignore:
20-
- 'dependabot/**'
19+
branches:
20+
- master
21+
- 'v*-branch'
2122
pull_request:
2223
merge_group:
2324

.github/workflows/examples-linux-tv-casting-app.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ name: Test TV Casting Example
1616

1717
on:
1818
push:
19-
branches-ignore:
20-
- "dependabot/**"
19+
branches:
20+
- master
21+
- 'v*-branch'
2122
pull_request:
2223
merge_group:
2324

.github/workflows/examples-mw320.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ name: Build example - MW320
1616

1717
on:
1818
push:
19-
branches-ignore:
20-
- 'dependabot/**'
19+
branches:
20+
- master
21+
- 'v*-branch'
2122
pull_request:
2223
merge_group:
2324

.github/workflows/examples-nrfconnect.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ name: Build example - nRF Connect SDK
1616

1717
on:
1818
push:
19-
branches-ignore:
20-
- 'dependabot/**'
19+
branches:
20+
- master
21+
- 'v*-branch'
2122
pull_request:
2223
merge_group:
2324

.github/workflows/examples-nuttx.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ name: Build example - NuttX
1616

1717
on:
1818
push:
19+
branches:
20+
- master
21+
- 'v*-branch'
1922
pull_request:
2023
merge_group:
2124
workflow_dispatch:

.github/workflows/examples-nxp.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ name: Build example - NXP
1616

1717
on:
1818
push:
19-
branches-ignore:
20-
- 'dependabot/**'
19+
branches:
20+
- master
21+
- 'v*-branch'
2122
pull_request:
2223
merge_group:
2324

.github/workflows/examples-qpg.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ name: Build example - QPG
1616

1717
on:
1818
push:
19-
branches-ignore:
20-
- 'dependabot/**'
19+
branches:
20+
- master
21+
- 'v*-branch'
2122
pull_request:
2223
merge_group:
2324

.github/workflows/examples-stm32.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ name: Build example - stm32
1616

1717
on:
1818
push:
19-
branches-ignore:
20-
- 'dependabot/**'
19+
branches:
20+
- master
21+
- 'v*-branch'
2122
pull_request:
2223
merge_group:
2324

.github/workflows/examples-telink.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ name: Build example - Telink
1616

1717
on:
1818
push:
19-
branches-ignore:
20-
- 'dependabot/**'
19+
branches:
20+
- master
21+
- 'v*-branch'
2122
pull_request:
2223
merge_group:
2324

.github/workflows/examples-tizen.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ name: Build example - Tizen
1616

1717
on:
1818
push:
19-
branches-ignore:
20-
- 'dependabot/**'
19+
branches:
20+
- master
21+
- 'v*-branch'
2122
pull_request:
2223
merge_group:
2324

.github/workflows/full-android.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ name: Full builds - Android
1616

1717
on:
1818
push:
19-
branches-ignore:
20-
- 'dependabot/**'
19+
branches:
20+
- master
21+
- 'v*-branch'
2122
workflow_dispatch:
2223

2324
concurrency:

.github/workflows/gradle-wrapper-validation.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
name: "Validate Gradle Wrapper"
22
on:
33
push:
4-
branches-ignore:
5-
- 'dependabot/**'
4+
branches:
5+
- master
6+
- 'v*-branch'
67
pull_request:
78

89
jobs:

.github/workflows/java-tests.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ name: Java Tests
1616

1717
on:
1818
push:
19-
branches-ignore:
20-
- 'dependabot/**'
19+
branches:
20+
- master
21+
- 'v*-branch'
2122
pull_request:
2223
merge_group:
2324
workflow_dispatch:

.github/workflows/lint.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ name: Lint Code Base
1616

1717
on:
1818
push:
19-
branches-ignore:
20-
- 'dependabot/**'
19+
branches:
20+
- master
21+
- 'v*-branch'
2122
pull_request:
2223
merge_group:
2324
workflow_dispatch:

.github/workflows/minimal-build.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ name: Minimal Build (Linux / configure)
1616

1717
on:
1818
push:
19-
branches-ignore:
20-
- "dependabot/**"
19+
branches:
20+
- master
21+
- 'v*-branch'
2122
pull_request:
2223
merge_group:
2324

.github/workflows/qemu.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ name: QEMU
1616

1717
on:
1818
push:
19-
branches-ignore:
20-
- 'dependabot/**'
19+
branches:
20+
- master
21+
- 'v*-branch'
2122
pull_request:
2223
merge_group:
2324

0 commit comments

Comments
 (0)