Skip to content

Commit

Permalink
[github-actions] exclude dependabot branches (openthread#8456)
Browse files Browse the repository at this point in the history
  • Loading branch information
jwhui authored Nov 29, 2022
1 parent 45c2cb4 commit e61e64d
Show file tree
Hide file tree
Showing 13 changed files with 85 additions and 13 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,13 @@

name: Build

on: [push, pull_request]
on:
push:
branches-ignore:
- 'dependabot/**'
pull_request:
branches:
- 'main'

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.repository == 'openthread/openthread' && github.run_id) || github.ref }}
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,13 @@

name: Docker

on: [push, pull_request]
on:
push:
branches-ignore:
- 'dependabot/**'
pull_request:
branches:
- 'main'

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.repository == 'openthread/openthread' && github.run_id) || github.ref }}
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/fuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@

name: CIFuzz

on: [pull_request]
on:
pull_request:
branches:
- 'main'

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.repository == 'openthread/openthread' && github.run_id) || github.ref }}
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/makefile-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,13 @@

name: Makefile Check

on: [push, pull_request]
on:
push:
branches-ignore:
- 'dependabot/**'
pull_request:
branches:
- 'main'

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.repository == 'openthread/openthread' && github.run_id) || github.ref }}
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/otbr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,13 @@

name: Border Router

on: [push, pull_request]
on:
push:
branches-ignore:
- 'dependabot/**'
pull_request:
branches:
- 'main'

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.repository == 'openthread/openthread' && github.run_id) || github.ref }}
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/otci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,13 @@

name: OTCI

on: [push, pull_request]
on:
push:
branches-ignore:
- 'dependabot/**'
pull_request:
branches:
- 'main'

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.repository == 'openthread/openthread' && github.run_id) || github.ref }}
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/otns.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,13 @@

name: OTNS

on: [push, pull_request]
on:
push:
branches-ignore:
- 'dependabot/**'
pull_request:
branches:
- 'main'

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.repository == 'openthread/openthread' && github.run_id) || github.ref }}
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/posix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,13 @@

name: POSIX

on: [push, pull_request]
on:
push:
branches-ignore:
- 'dependabot/**'
pull_request:
branches:
- 'main'

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.repository == 'openthread/openthread' && github.run_id) || github.ref }}
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/simulation-1.1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,13 @@

name: Simulation 1.1

on: [push, pull_request]
on:
push:
branches-ignore:
- 'dependabot/**'
pull_request:
branches:
- 'main'

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.repository == 'openthread/openthread' && github.run_id) || github.ref }}
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/simulation-1.2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,13 @@

name: Simulation 1.3

on: [push, pull_request]
on:
push:
branches-ignore:
- 'dependabot/**'
pull_request:
branches:
- 'main'

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.repository == 'openthread/openthread' && github.run_id) || github.ref }}
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,13 @@

name: Size

on: [push, pull_request]
on:
push:
branches-ignore:
- 'dependabot/**'
pull_request:
branches:
- 'main'

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.repository == 'openthread/openthread' && github.run_id) || github.ref }}
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/toranj.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,13 @@

name: Toranj

on: [push, pull_request]
on:
push:
branches-ignore:
- 'dependabot/**'
pull_request:
branches:
- 'main'

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.repository == 'openthread/openthread' && github.run_id) || github.ref }}
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@

name: API Version

on: [pull_request]
on:
pull_request:
branches:
- 'main'

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.repository == 'openthread/openthread' && github.run_id) || github.ref }}
Expand Down

0 comments on commit e61e64d

Please sign in to comment.