Skip to content

Commit

Permalink
Merge pull request #600 from nextcloud/backport/599/stable-2.6
Browse files Browse the repository at this point in the history
[stable-2.6] Run workflows on any stable branch
  • Loading branch information
tobiasKaminsky authored Mar 17, 2021
2 parents cca2c53 + 058c148 commit acf2054
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 13 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/autoApproveDependabot.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Auto approve
on: pull_request
on:
pull_request:
branches: [ master, stable-* ]

jobs:
auto-approve:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/detectSnaphost.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: "Detect snapshot"

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
branches: [ master, stable-* ]
push:
branches: [ master, stable-* ]

jobs:
detekt:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/detekt.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Detekt

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
pull_request:
branches: [ master, stable-* ]
push:
branches: [ master, stable-* ]

jobs:
detekt:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/gradle-wrapper-validation.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: "Validate Gradle Wrapper"
on: [push, pull_request]
on:
pull_request:
branches: [ master, stable-* ]
push:
branches: [ master, stable-* ]

jobs:
validation:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ktlint.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: KtLint

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
pull_request:
branches: [ master, stable-* ]
push:
branches: [ master, stable-* ]

jobs:
ktlint:
Expand Down

0 comments on commit acf2054

Please sign in to comment.