Use master, stable-* as target for workflow branches

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
tobiasKaminsky 2021-01-05 14:42:56 +01:00
parent af2891a4a7
commit cff5e413c5
No known key found for this signature in database
GPG Key ID: 0E00D4D47D0C5AF7
12 changed files with 26 additions and 24 deletions

View File

@ -1,5 +1,7 @@
name: Auto approve
on: pull_request
on:
pull_request:
branches: [ master, stable-* ]
jobs:
auto-approve:

View File

@ -2,9 +2,9 @@ name: "Blue color on dark mode"
on:
push:
branches: [ master ]
branches: [ master, stable-* ]
pull_request:
branches: [ master ]
branches: [ master, stable-* ]
jobs:
blueDark:

View File

@ -2,9 +2,9 @@ name: "Blue color on light mode"
on:
push:
branches: [ master ]
branches: [ master, stable-* ]
pull_request:
branches: [ master ]
branches: [ master, stable-* ]
jobs:
blueLight:

View File

@ -2,12 +2,12 @@ name: "Detect snapshot"
on:
push:
branches: [ master ]
branches: [ master, stable-* ]
pull_request:
branches: [ master ]
branches: [ master, stable-* ]
jobs:
detekt:
detectSnapshot:
runs-on: ubuntu-latest
steps:

View File

@ -2,9 +2,9 @@ name: Detekt
on:
push:
branches: [ master ]
branches: [ master, stable-* ]
pull_request:
branches: [ master ]
branches: [ master, stable-* ]
jobs:
detekt:

View File

@ -2,9 +2,9 @@ name: "Gplay Flavor"
on:
push:
branches: [ master ]
branches: [ master, stable-* ]
pull_request:
branches: [ master ]
branches: [ master, stable-* ]
jobs:
gPlayFlavor:

View File

@ -2,9 +2,9 @@ name: "Generic Flavor"
on:
push:
branches: [ master ]
branches: [ master, stable-* ]
pull_request:
branches: [ master ]
branches: [ master, stable-* ]
jobs:
genericFlavor:

View File

@ -2,9 +2,9 @@ name: "Validate Gradle Wrapper"
on:
push:
branches: [ master ]
branches: [ master, stable-* ]
pull_request:
branches: [ master ]
branches: [ master, stable-* ]
jobs:
validation:

View File

@ -2,9 +2,9 @@ name: KtLint
on:
push:
branches: [ master ]
branches: [ master, stable-* ]
pull_request:
branches: [ master ]
branches: [ master, stable-* ]
jobs:
ktlint:

View File

@ -2,9 +2,9 @@ name: "QA"
on:
push:
branches: [ master ]
branches: [ master, stable-* ]
pull_request:
branches: [ master ]
branches: [ master, stable-* ]
jobs:
qa:

View File

@ -2,9 +2,9 @@ name: "White color on dark mode"
on:
push:
branches: [ master ]
branches: [ master, stable-* ]
pull_request:
branches: [ master ]
branches: [ master, stable-* ]
jobs:
whiteDark:

View File

@ -2,9 +2,9 @@ name: "White color on light mode"
on:
push:
branches: [ master ]
branches: [ master, stable-* ]
pull_request:
branches: [ master ]
branches: [ master, stable-* ]
jobs:
whiteLight: