CI: ignore master branch for push events

Due to problem with migrating from master to main as the default branch
and downstream project still requiring the master branch to be present,
we currently have for push events double CI runs, one for main and one
for master. To solve this ignore any push event to the master branch for
every workflow that react on push events.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
Christian Marangi 2023-05-25 13:52:03 +02:00
parent 3591353f51
commit f5a5ce8822
No known key found for this signature in database
GPG Key ID: AC001D09ADBFEAD7
5 changed files with 10 additions and 0 deletions

View File

@ -17,6 +17,8 @@ on:
- 'include/kernel*'
- 'package/kernel/**'
- 'target/linux/**'
branches-ignore:
- master
permissions:
contents: read

View File

@ -19,6 +19,8 @@ on:
- 'package/**'
- 'target/linux/generic/**'
- 'toolchain/**'
branches-ignore:
- master
permissions:
contents: read

View File

@ -12,6 +12,8 @@ on:
- '.github/workflows/build.yml'
- '.github/workflows/toolchain.yml'
- '.github/workflows/Dockerfile.toolchain'
branches-ignore:
- master
permissions:
contents: read

View File

@ -11,6 +11,8 @@ on:
- '.github/workflows/build.yml'
- '.github/workflows/toolchain.yml'
- 'toolchain/**'
branches-ignore:
- master
permissions:
contents: read

View File

@ -13,6 +13,8 @@ on:
- 'tools/**'
- '.github/workflows/build-tools.yml'
- '.github/workflows/tools.yml'
branches-ignore:
- master
permissions:
contents: read