Skip to content

Commit

Permalink
Fix CI script inclusion of release branches (apache#10514)
Browse files Browse the repository at this point in the history
The CI scripts are meant to run on release maintenance branches such as
1.5.x. They were run for releases up to 1.0 because of the `0.*` pattern

This commit:

- includes `1.*` branches (but that's likely needs to be propagated to
  existing branches)
- includes `2.*` branches foreseeing imminent 2.0 release
- changes the `0.**` pattern to `0.*`. Multiple asterisks are needed to
  match branch names including `/` but release branche naming convention
  do not expect such branch names.
  • Loading branch information
findepi authored and zachdisc committed Dec 12, 2024
1 parent b120904 commit 94a423d
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 7 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/api-binary-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ on:
push:
branches:
- 'main'
- '0.**'
- '0.*'
- '1.*'
- '2.*'
tags:
- 'apache-iceberg-**'
pull_request:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/delta-conversion-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ on:
push:
branches:
- 'main'
- '0.**'
- '0.*'
- '1.*'
- '2.*'
tags:
- 'apache-iceberg-**'
pull_request:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/flink-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ on:
push:
branches:
- 'main'
- '0.**'
- '0.*'
- '1.*'
- '2.*'
tags:
- 'apache-iceberg-**'
pull_request:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/hive-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ on:
push:
branches:
- 'main'
- '0.**'
- '0.*'
- '1.*'
- '2.*'
tags:
- 'apache-iceberg-**'
pull_request:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/java-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ on:
push:
branches:
- 'main'
- '0.**'
- '0.*'
- '1.*'
- '2.*'
tags:
- 'apache-iceberg-**'
pull_request:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/open-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ on:
push:
branches:
- 'main'
- '0.**'
- '0.*'
- '1.*'
- '2.*'
tags:
- 'apache-iceberg-**'
pull_request:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/spark-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ on:
push:
branches:
- 'main'
- '0.**'
- '0.*'
- '1.*'
- '2.*'
tags:
- 'apache-iceberg-**'
pull_request:
Expand Down

0 comments on commit 94a423d

Please sign in to comment.