Skip to content

Commit 16d5ed1

Browse files
committed
ci: run workflows also on release branch (lance-format#5398)
Make sure all workflows are triggered properly when doing a patch against release branch
1 parent 633d503 commit 16d5ed1

File tree

10 files changed

+40
-2
lines changed

10 files changed

+40
-2
lines changed

.github/workflows/docs-check.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,13 @@ name: Check docs
22

33
on:
44
push:
5-
branches: ["main"]
5+
branches:
6+
- main
7+
- release/**
68
pull_request:
9+
branches:
10+
- main
11+
- release/**
712
paths:
813
- docs/**
914
- .github/workflows/docs-check.yml

.github/workflows/java-publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
# Trigger on published to include both stable and preview/beta releases
55
types: [published]
66
pull_request:
7+
branches:
8+
- main
9+
- release/**
710
paths:
811
- .github/workflows/java-publish.yml
912
workflow_dispatch:

.github/workflows/java.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ on:
44
push:
55
branches:
66
- main
7+
- release/**
78
pull_request:
9+
branches:
10+
- main
11+
- release/**
812
paths:
913
- java/**
1014
- rust/**

.github/workflows/license-header-check.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ on:
33
push:
44
branches:
55
- main
6+
- release/**
67
pull_request:
8+
branches:
9+
- main
10+
- release/**
711
paths:
812
- rust/**
913
- python/**

.github/workflows/notebook.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ on:
44
push:
55
branches:
66
- main
7+
- release/**
78
pull_request:
9+
branches:
10+
- main
11+
- release/**
812
paths:
913
- python/**
1014
- rust/**

.github/workflows/pypi-publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ on:
1616
default: true
1717
type: boolean
1818
pull_request:
19+
branches:
20+
- main
21+
- release/**
1922
paths:
2023
- ".github/workflows/pypi-publish.yml"
2124
- ".github/workflows/build_linux_wheel/**"

.github/workflows/python.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ on:
44
push:
55
branches:
66
- main
7+
- release/**
78
pull_request:
9+
branches:
10+
- main
11+
- release/**
812
paths:
913
- Cargo.*
1014
- python/**

.github/workflows/rust-benchmark.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
schedule:
66
- cron: "0 9 * * *" # 9AM UTC = 2AM PST
77
pull_request:
8+
branches:
9+
- main
10+
- release/**
811
paths:
912
- ".github/workflows/rust-benchmark.yml"
1013

.github/workflows/rust.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ on:
33
push:
44
branches:
55
- main
6+
- release/**
67
pull_request:
8+
branches:
9+
- main
10+
- release/**
711
paths:
812
- rust/**
913
- protos/**

.github/workflows/typos.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Typo checker
2-
on: [pull_request]
2+
on:
3+
pull_request:
4+
branches:
5+
- main
6+
- release/**
37

48
jobs:
59
run:

0 commit comments

Comments
 (0)