Skip to content

Commit

Permalink
Fix duplicate CI runs for both push and pull_request events (project-…
Browse files Browse the repository at this point in the history
…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 <[email protected]>
  • Loading branch information
2 people authored and yyzhong-g committed Dec 11, 2024
1 parent a7b743f commit 41ac329
Show file tree
Hide file tree
Showing 37 changed files with 111 additions and 70 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ name: Builds

on:
push:
branches-ignore:
- 'dependabot/**'
branches:
- master
- 'v*-branch'
pull_request:
merge_group:
workflow_dispatch:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/chef.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ name: Build Chef CI examples on all platforms

on:
push:
branches-ignore:
- 'dependabot/**'
branches:
- master
- 'v*-branch'
pull_request:
merge_group:

Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/cirque.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ name: Cirque

on:
push:
branches-ignore:
- 'dependabot/**'
branches:
- master
- 'v*-branch'
pull_request:
merge_group:
workflow_dispatch:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/darwin-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ name: Darwin Tests

on:
push:
branches-ignore:
- 'dependabot/**'
branches:
- master
- 'v*-branch'
pull_request:
merge_group:
workflow_dispatch:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/darwin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ name: Darwin

on:
push:
branches-ignore:
- "dependabot/**"
branches:
- master
- 'v*-branch'
pull_request:
merge_group:
workflow_dispatch:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/doxygen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ name: Doxygen

on:
push:
branches:
- master
- 'v*-branch'
paths:
- "**.do[xc]"
- "**.c[cs]?"
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/example-tv-casting-darwin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ name: TV Casting Example - Darwin

on:
push:
branches-ignore:
- "dependabot/**"
branches:
- master
- 'v*-branch'
pull_request:
merge_group:
workflow_dispatch:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/examples-ameba.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ name: Build example - Ameba

on:
push:
branches-ignore:
- 'dependabot/**'
branches:
- master
- 'v*-branch'
pull_request:
merge_group:

Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/examples-asr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ name: Build example - ASR

on:
push:
branches-ignore:
- 'dependabot/**'
branches:
- master
- 'v*-branch'
pull_request:
merge_group:

Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/examples-bouffalolab.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ name: Build example - BouffaloLab

on:
push:
branches-ignore:
- 'dependabot/**'
branches:
- master
- 'v*-branch'
pull_request:
merge_group:
workflow_dispatch:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/examples-cc13xx_26xx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ name: Build example - TI CC13XX_26XX

on:
push:
branches-ignore:
- "dependabot/**"
branches:
- master
- 'v*-branch'
pull_request:
merge_group:

Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/examples-cc32xx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ name: Build example - TI CC32XX
on:
workflow_dispatch:
push:
branches-ignore:
- "dependabot/**"
branches:
- master
- 'v*-branch'
pull_request:
merge_group:

Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/examples-efr32.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ name: Build example - EFR32

on:
push:
branches-ignore:
- 'dependabot/**'
branches:
- master
- 'v*-branch'
pull_request:
merge_group:

Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/examples-esp32.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ name: Build example - ESP32

on:
push:
branches-ignore:
- 'dependabot/**'
branches:
- master
- 'v*-branch'
pull_request:
merge_group:

Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/examples-infineon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ name: Build example - Infineon

on:
push:
branches-ignore:
- 'dependabot/**'
branches:
- master
- 'v*-branch'
pull_request:
merge_group:
workflow_dispatch:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/examples-linux-arm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ name: Build example - Linux ARM

on:
push:
branches-ignore:
- 'dependabot/**'
branches:
- master
- 'v*-branch'
pull_request:
merge_group:

Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/examples-linux-imx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ name: Build example - i.MX Linux

on:
push:
branches-ignore:
- 'dependabot/**'
branches:
- master
- 'v*-branch'
pull_request:
merge_group:

Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/examples-linux-standalone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ name: Build example - Linux Standalone

on:
push:
branches-ignore:
- 'dependabot/**'
branches:
- master
- 'v*-branch'
pull_request:
merge_group:

Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/examples-linux-tv-casting-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ name: Test TV Casting Example

on:
push:
branches-ignore:
- "dependabot/**"
branches:
- master
- 'v*-branch'
pull_request:
merge_group:

Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/examples-mw320.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ name: Build example - MW320

on:
push:
branches-ignore:
- 'dependabot/**'
branches:
- master
- 'v*-branch'
pull_request:
merge_group:

Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/examples-nrfconnect.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ name: Build example - nRF Connect SDK

on:
push:
branches-ignore:
- 'dependabot/**'
branches:
- master
- 'v*-branch'
pull_request:
merge_group:

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/examples-nuttx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ name: Build example - NuttX

on:
push:
branches:
- master
- 'v*-branch'
pull_request:
merge_group:
workflow_dispatch:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/examples-nxp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ name: Build example - NXP

on:
push:
branches-ignore:
- 'dependabot/**'
branches:
- master
- 'v*-branch'
pull_request:
merge_group:

Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/examples-qpg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ name: Build example - QPG

on:
push:
branches-ignore:
- 'dependabot/**'
branches:
- master
- 'v*-branch'
pull_request:
merge_group:

Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/examples-stm32.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ name: Build example - stm32

on:
push:
branches-ignore:
- 'dependabot/**'
branches:
- master
- 'v*-branch'
pull_request:
merge_group:

Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/examples-telink.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ name: Build example - Telink

on:
push:
branches-ignore:
- 'dependabot/**'
branches:
- master
- 'v*-branch'
pull_request:
merge_group:

Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/examples-tizen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ name: Build example - Tizen

on:
push:
branches-ignore:
- 'dependabot/**'
branches:
- master
- 'v*-branch'
pull_request:
merge_group:

Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/full-android.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ name: Full builds - Android

on:
push:
branches-ignore:
- 'dependabot/**'
branches:
- master
- 'v*-branch'
workflow_dispatch:

concurrency:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/gradle-wrapper-validation.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: "Validate Gradle Wrapper"
on:
push:
branches-ignore:
- 'dependabot/**'
branches:
- master
- 'v*-branch'
pull_request:

jobs:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/java-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ name: Java Tests

on:
push:
branches-ignore:
- 'dependabot/**'
branches:
- master
- 'v*-branch'
pull_request:
merge_group:
workflow_dispatch:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ name: Lint Code Base

on:
push:
branches-ignore:
- 'dependabot/**'
branches:
- master
- 'v*-branch'
pull_request:
merge_group:
workflow_dispatch:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/minimal-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ name: Minimal Build (Linux / configure)

on:
push:
branches-ignore:
- "dependabot/**"
branches:
- master
- 'v*-branch'
pull_request:
merge_group:

Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/qemu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ name: QEMU

on:
push:
branches-ignore:
- 'dependabot/**'
branches:
- master
- 'v*-branch'
pull_request:
merge_group:

Expand Down
Loading

0 comments on commit 41ac329

Please sign in to comment.