Skip to content

Commit 0be9cab

Browse files
committed
standardize branch triggers
1 parent 0ed6609 commit 0be9cab

6 files changed

Lines changed: 9 additions & 15 deletions

File tree

‎.github/workflows/api-level-lint.yml‎

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,9 @@ name: "Checks the SDK only using APIs from the targeted API level"
33
on:
44
workflow_dispatch:
55
push:
6-
branches:
7-
- dev
8-
- master
6+
branches: [dev, master]
97
pull_request:
10-
branches:
11-
- dev
12-
- master
8+
branches: [dev, master]
139

1410
jobs:
1511
lint-api-level:

‎.github/workflows/build-and-publish.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Build and Publish
22

33
on:
44
push:
5-
branches: [ dev , master]
5+
branches: [dev, master]
66
paths-ignore:
77
- '.gradle/wrapper'
88
- '.gitignore'

‎.github/workflows/codeql-analysis.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ name: "CodeQL"
1313

1414
on:
1515
push:
16-
branches: ["dev", "master"]
16+
branches: [dev, master]
1717
pull_request:
1818
# The branches below must be a subset of the branches above
19-
branches: ["dev"]
19+
branches: [dev]
2020
schedule:
2121
- cron: '0 1 * * 4'
2222
workflow_dispatch:

‎.github/workflows/conflicting-pr-label.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ name: PullRequestConflicting
77
on:
88
workflow_dispatch:
99
push:
10-
branches: [ master, dev ]
10+
branches: [master, dev]
1111
pull_request:
1212
types: [synchronize]
13-
branches: [ master, dev ]
13+
branches: [master, dev]
1414

1515
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1616
jobs:

‎.github/workflows/gradle-build.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Java CI with Gradle
22

33
on:
44
pull_request:
5-
branches: [ dev, master ]
5+
branches: [dev, master]
66
paths-ignore:
77
- '.gradle/wrapper'
88
- '.gitignore'

‎.github/workflows/sonarcloud.yml‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@ name: Static analysis with SonarCloud
22
on:
33
workflow_dispatch:
44
push:
5-
branches:
6-
- master
7-
- dev
5+
branches: [master, dev]
86
pull_request:
97
types: [opened, synchronize, reopened]
108

0 commit comments

Comments
 (0)