This is an automated email from the ASF dual-hosted git repository.
Fokko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/parquet-java.git
The following commit(s) were added to refs/heads/master by this push:
new 053a851fe Restrict trigger push branch for GitHub Workflow (#3641)
053a851fe is described below
commit 053a851fea6558748f81e9e33f1af9ab7eac31f1
Author: Aurélien Pupier <[email protected]>
AuthorDate: Sun Jul 5 08:23:48 2026 +0200
Restrict trigger push branch for GitHub Workflow (#3641)
Feature branches rarely need their own CI runs: the code is already
tested when a pull request is opened against a release branch. If the
push trigger has no branch restriction and pull_request is also
configured, every push to a branch with an open PR runs the workflow
twice: once for the push and once for the PR synchronisation.
Always give the push trigger an explicit list of branches: this stops
branches created from a release branch from inheriting its workflow
runs.
see
https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=430408443#GitHubActionsRecommendedPractices-Restrictthepushtriggertospecificbranches
Signed-off-by: Aurélien Pupier <[email protected]>
---
.github/workflows/ci-hadoop3.yml | 7 ++++++-
.github/workflows/vector-plugins.yml | 7 ++++++-
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/ci-hadoop3.yml b/.github/workflows/ci-hadoop3.yml
index 6cb39a4e3..c3304df13 100644
--- a/.github/workflows/ci-hadoop3.yml
+++ b/.github/workflows/ci-hadoop3.yml
@@ -17,7 +17,12 @@
name: CI Hadoop 3
-on: [push, pull_request]
+on:
+ push:
+ branches:
+ - master
+ - parquet-*
+ pull_request:
jobs:
build:
diff --git a/.github/workflows/vector-plugins.yml
b/.github/workflows/vector-plugins.yml
index cc57e97ff..ea4037ae3 100644
--- a/.github/workflows/vector-plugins.yml
+++ b/.github/workflows/vector-plugins.yml
@@ -17,7 +17,12 @@
name: Vector-plugins
-on: [push, pull_request]
+on:
+ push:
+ branches:
+ - master
+ - parquet-*
+ pull_request:
jobs:
build: