Skip to content

Commit

Permalink
add release branches regex to actions
Browse files Browse the repository at this point in the history
  • Loading branch information
laves committed Mar 20, 2023
1 parent 2bfd2d4 commit 6985cf0
Show file tree
Hide file tree
Showing 27 changed files with 34 additions and 34 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/android-appcenter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- '!demo/android/LeopardDemo/README.md'
- '.github/workflows/android-appcenter.yml'
pull_request:
branches: [ master ]
branches: [ master, 'v[0-9]+.[0-9]+' ]
paths:
- 'demo/android/LeopardDemo/**'
- '!demo/android/LeopardDemo/README.md'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/android-perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- 'lib/common/**'
- '.github/workflows/android-perf.yml'
pull_request:
branches: [ master ]
branches: [ master, 'v[0-9]+.[0-9]+' ]
paths:
- 'lib/android/**'
- 'lib/common/**'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/c-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: C Demos
on:
workflow_dispatch:
push:
branches: [master]
branches: [ master ]
paths:
- '.github/workflows/c-demos.yml'
- 'demo/c/**'
Expand All @@ -16,7 +16,7 @@ on:
- 'lib/raspberry-pi/**'
- 'lib/windows/**'
pull_request:
branches: [master]
branches: [ master, 'v[0-9]+.[0-9]+' ]
paths:
- '.github/workflows/c-demos.yml'
- 'demo/c/**'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dotnet-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- '!demo/dotnet/README.md'
- '.github/workflows/dotnet-demos.yml'
pull_request:
branches: [ master ]
branches: [ master, 'v[0-9]+.[0-9]+' ]
paths:
- 'demo/dotnet/**'
- '!demo/dotnet/README.md'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
- 'lib/windows/**'
- '.github/workflows/dotnet.yml'
pull_request:
branches: [ master ]
branches: [ master, 'v[0-9]+.[0-9]+' ]
paths:
- 'binding/dotnet/**'
- '!binding/dotnet/README.md'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/flutter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- 'demo/flutter/pubspec.yaml'
- '.github/workflows/flutter.yml'
pull_request:
branches: [ master ]
branches: [ master, 'v[0-9]+.[0-9]+' ]
paths:
- 'demo/flutter/pubspec.yaml'
- '.github/workflows/flutter.yml'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/go-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- '!demo/go/README.md'
- '.github/workflows/go-demos.yml'
pull_request:
branches: [ master ]
branches: [ master, 'v[0-9]+.[0-9]+' ]
paths:
- 'demo/go/**'
- '!demo/go/README.md'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
- 'lib/windows/**'
- '.github/workflows/go.yml'
pull_request:
branches: [ master ]
branches: [ master, 'v[0-9]+.[0-9]+' ]
paths:
- 'binding/go/**'
- '!binding/go/README.md'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ios-appcenter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- 'binding/ios/LeopardAppTest/Podfile.lock'
- '.github/workflows/ios-appcenter.yml'
pull_request:
branches: [ master ]
branches: [ master, 'v[0-9]+.[0-9]+' ]
paths:
- 'binding/ios/LeopardAppTest/Podfile.lock'
- '.github/workflows/ios-appcenter.yml'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ios-perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- 'lib/common/**'
- '.github/workflows/ios-perf.yml'
pull_request:
branches: [ master ]
branches: [ master, 'v[0-9]+.[0-9]+' ]
paths:
- 'lib/ios/**'
- 'lib/common/**'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/java-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- '!demo/java/README.md'
- '.github/workflows/java-demos.yml'
pull_request:
branches: [ master ]
branches: [ master, 'v[0-9]+.[0-9]+' ]
paths:
- 'demo/java/**'
- '!demo/java/README.md'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/java-perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
- 'lib/java/**'
- '.github/workflows/java-perf.yml'
pull_request:
branches: [ master ]
branches: [ master, 'v[0-9]+.[0-9]+' ]
paths:
- 'binding/java/**/LeopardPerformanceTest.java'
- 'lib/common/**'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- 'lib/java/**'
- '.github/workflows/java.yml'
pull_request:
branches: [ master ]
branches: [ master, 'v[0-9]+.[0-9]+' ]
paths:
- 'binding/java/**'
- '!binding/java/README.md'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/link-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
branches: [ master, 'v[0-9]+.[0-9]+' ]

jobs:
markdown-link-check:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nodejs-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- '.github/workflows/nodejs-demos.yml'

pull_request:
branches: [ master ]
branches: [ master, 'v[0-9]+.[0-9]+' ]
paths:
- 'demo/nodejs/**'
- '!demo/nodejs/README.md'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nodejs-perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- '.github/workflows/nodejs-perf.yml'

pull_request:
branches: [ master ]
branches: [ master, 'v[0-9]+.[0-9]+' ]
paths:
- 'binding/nodejs/test/perf.test.ts'
- 'lib/common/**'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
- '.github/workflows/nodejs.yml'

pull_request:
branches: [ master ]
branches: [ master, 'v[0-9]+.[0-9]+' ]
paths:
- 'binding/nodejs/**'
- '!binding/nodejs/README.md'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python-codestyle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ name: Python Codestyle
on:
workflow_dispatch:
push:
branches: [master]
branches: [ master ]
paths:
- 'binding/python/*.py'
- 'demo/python/*.py'
pull_request:
branches: [master]
branches: [ master, 'v[0-9]+.[0-9]+' ]
paths:
- 'binding/python/*.py'
- 'demo/python/*.py'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ name: Python Demos
on:
workflow_dispatch:
push:
branches: [master]
branches: [ master ]
paths:
- '.github/workflows/python-demos.yml'
- 'demo/python/**'
- '!demo/python/README.md'
pull_request:
branches: [master]
branches: [ master, 'v[0-9]+.[0-9]+' ]
paths:
- '.github/workflows/python-demos.yml'
- 'demo/python/**'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python-perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Python Performance
on:
workflow_dispatch:
push:
branches: [master]
branches: [ master ]
paths:
- '.github/workflows/python-perf.yml'
- 'binding/python/test_leopard_perf.py'
Expand All @@ -14,7 +14,7 @@ on:
- 'lib/raspberry-pi/**'
- 'lib/windows/**'
pull_request:
branches: [master]
branches: [ master, 'v[0-9]+.[0-9]+' ]
paths:
- '.github/workflows/python-perf.yml'
- 'binding/python/test_leopard_perf.py'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Python
on:
workflow_dispatch:
push:
branches: [master]
branches: [ master ]
paths:
- '.github/workflows/python.yml'
- 'binding/python/**'
Expand All @@ -15,7 +15,7 @@ on:
- 'lib/raspberry-pi/**'
- 'lib/windows/**'
pull_request:
branches: [master]
branches: [ master, 'v[0-9]+.[0-9]+' ]
paths:
- '.github/workflows/python.yml'
- 'binding/python/**'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/react-native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
- 'lib/ios/**'
- '.github/workflows/react-native.yml'
pull_request:
branches: [ master ]
branches: [ master, 'v[0-9]+.[0-9]+' ]
paths:
- 'binding/react-native/**'
- '!binding/react-native/README.md'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/rust-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ name: Rust Demos
on:
workflow_dispatch:
push:
branches: [master]
branches: [ master ]
paths:
- '.github/workflows/rust-demos.yml'
- 'demo/rust/**'
- '!demo/rust/README.md'
pull_request:
branches: [master]
branches: [ master, 'v[0-9]+.[0-9]+' ]
paths:
- '.github/workflows/rust-demos.yml'
- 'demo/rust/**'
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
- name: Rust dependencies
if: matrix.os == 'ubuntu-latest'
run: sudo apt install libasound2-dev -y

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
- 'lib/windows/**'
- '.github/workflows/rust.yml'
pull_request:
branches: [ master ]
branches: [ master, 'v[0-9]+.[0-9]+' ]
paths:
- 'binding/rust/**'
- '!binding/rust/README.md'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/spell-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
push:
branches: [ master ]
pull_request:
branches: [master]
branches: [ master, 'v[0-9]+.[0-9]+' ]

jobs:
markdown:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/web-perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- 'lib/common/**'
- '.github/workflows/web-perf.yml'
pull_request:
branches: [ master ]
branches: [ master, 'v[0-9]+.[0-9]+' ]
paths:
- 'lib/wasm/**'
- 'lib/common/**'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
- 'lib/wasm/**'
- '.github/workflows/web.yml'
pull_request:
branches: [ master ]
branches: [ master, 'v[0-9]+.[0-9]+' ]
paths:
- 'binding/web/**'
- '!binding/web/README.md'
Expand Down

0 comments on commit 6985cf0

Please sign in to comment.