You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by aa...@apache.org on 2022/07/14 05:22:20 UTC

[rocketmq-clients] branch master updated: Only trigger GitHub Action on master branch (#46)

This is an automated email from the ASF dual-hosted git repository.

aaronai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/rocketmq-clients.git


The following commit(s) were added to refs/heads/master by this push:
     new 31d70b8  Only trigger GitHub Action on master branch (#46)
31d70b8 is described below

commit 31d70b8cf7c12ed7660f941160db8d55a91c0ee5
Author: Aaron Ai <ya...@gmail.com>
AuthorDate: Thu Jul 14 13:22:16 2022 +0800

    Only trigger GitHub Action on master branch (#46)
---
 .github/workflows/cpp_build.yml    | 4 +++-
 .github/workflows/csharp_build.yml | 4 +++-
 .github/workflows/golang_build.yml | 4 +++-
 .github/workflows/java_build.yml   | 4 +++-
 4 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/cpp_build.yml b/.github/workflows/cpp_build.yml
index 6e9504e..beca244 100644
--- a/.github/workflows/cpp_build.yml
+++ b/.github/workflows/cpp_build.yml
@@ -1,8 +1,10 @@
 name: CPP Build
 on:
   pull_request:
-    types: [opened, reopened]
+    types: [opened, reopened, synchronize]
   push:
+    branches:
+      - master
 jobs:
   cpp_build:
     name: "CPP (${{ matrix.os }})"
diff --git a/.github/workflows/csharp_build.yml b/.github/workflows/csharp_build.yml
index 54bd2d4..b6e0fc8 100644
--- a/.github/workflows/csharp_build.yml
+++ b/.github/workflows/csharp_build.yml
@@ -1,8 +1,10 @@
 name: C# Build
 on:
   pull_request:
-    types: [opened, reopened]
+    types: [opened, reopened, synchronize]
   push:
+    branches:
+      - master
 jobs:
   c_sharp:
     name: "C# (ubuntu-18.04)"
diff --git a/.github/workflows/golang_build.yml b/.github/workflows/golang_build.yml
index 9e34eb5..4b645ae 100644
--- a/.github/workflows/golang_build.yml
+++ b/.github/workflows/golang_build.yml
@@ -1,8 +1,10 @@
 name: Golang Build
 on:
   pull_request:
-    types: [opened, reopened]
+    types: [opened, reopened, synchronize]
   push:
+    branches:
+      - master
 jobs:
   cpp_build:
     name: "Golang (${{ matrix.os }}, Go ${{ matrix.go }})"
diff --git a/.github/workflows/java_build.yml b/.github/workflows/java_build.yml
index 5b31ec1..55cab62 100644
--- a/.github/workflows/java_build.yml
+++ b/.github/workflows/java_build.yml
@@ -1,8 +1,10 @@
 name: Java Build
 on:
   pull_request:
-    types: [opened, reopened]
+    types: [opened, reopened, synchronize]
   push:
+    branches:
+      - master
 jobs:
   java_build:
     name: "Java (${{ matrix.os }}, JDK-${{ matrix.jdk }})"