mirror of
https://github.com/openwrt/openwrt.git
synced 2025-04-03 01:21:34 +00:00
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> (cherry picked from commit f5a5ce8822e9add9627ecb6ea289c8de2b8a76a9)
This commit is contained in:
parent
e83384b87e
commit
f666723f6d
2
.github/workflows/kernel.yml
vendored
2
.github/workflows/kernel.yml
vendored
@ -17,6 +17,8 @@ on:
|
||||
- 'include/kernel*'
|
||||
- 'package/kernel/**'
|
||||
- 'target/linux/**'
|
||||
branches-ignore:
|
||||
- master
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
2
.github/workflows/packages.yml
vendored
2
.github/workflows/packages.yml
vendored
@ -19,6 +19,8 @@ on:
|
||||
- 'package/**'
|
||||
- 'target/linux/generic/**'
|
||||
- 'toolchain/**'
|
||||
branches-ignore:
|
||||
- master
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
2
.github/workflows/push-containers.yml
vendored
2
.github/workflows/push-containers.yml
vendored
@ -13,6 +13,8 @@ on:
|
||||
- '.github/workflows/build.yml'
|
||||
- '.github/workflows/toolchain.yml'
|
||||
- '.github/workflows/Dockerfile.toolchain'
|
||||
branches-ignore:
|
||||
- master
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
2
.github/workflows/toolchain.yml
vendored
2
.github/workflows/toolchain.yml
vendored
@ -11,6 +11,8 @@ on:
|
||||
- '.github/workflows/build.yml'
|
||||
- '.github/workflows/toolchain.yml'
|
||||
- 'toolchain/**'
|
||||
branches-ignore:
|
||||
- master
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
2
.github/workflows/tools.yml
vendored
2
.github/workflows/tools.yml
vendored
@ -13,6 +13,8 @@ on:
|
||||
- 'tools/**'
|
||||
- '.github/workflows/build-tools.yml'
|
||||
- '.github/workflows/tools.yml'
|
||||
branches-ignore:
|
||||
- master
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
Loading…
x
Reference in New Issue
Block a user