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

jamesnetherton pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git


The following commit(s) were added to refs/heads/master by this push:
     new cd05a73  Trigger project build on push
cd05a73 is described below

commit cd05a73a67d68a2c7645d8d08517e90ebca9897a
Author: James Netherton <jamesnether...@gmail.com>
AuthorDate: Wed Apr 22 12:53:32 2020 +0100

    Trigger project build on push
---
 .github/workflows/{pr-build.yaml => ci-build.yaml} | 12 +++++++++++-
 docs/modules/ROOT/pages/promote-jvm-to-native.adoc |  2 +-
 tooling/scripts/validate-github-workflows.groovy   |  2 +-
 3 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/pr-build.yaml b/.github/workflows/ci-build.yaml
similarity index 97%
rename from .github/workflows/pr-build.yaml
rename to .github/workflows/ci-build.yaml
index a9412d6..a14f9ff 100644
--- a/.github/workflows/pr-build.yaml
+++ b/.github/workflows/ci-build.yaml
@@ -15,9 +15,19 @@
 # limitations under the License.
 #
 
-name: Build PR
+name: Camel Quarkus CI
 
 on:
+  push:
+    branches:
+      - master
+      - camel-master
+      - quarkus-master
+    paths-ignore:
+      - '**.adoc'
+      - 'KEYS'
+      - 'LICENSE.txt'
+      - 'NOTICE.txt'
   pull_request:
     branches:
       - master
diff --git a/docs/modules/ROOT/pages/promote-jvm-to-native.adoc 
b/docs/modules/ROOT/pages/promote-jvm-to-native.adoc
index 610a560..8c93883 100644
--- a/docs/modules/ROOT/pages/promote-jvm-to-native.adoc
+++ b/docs/modules/ROOT/pages/promote-jvm-to-native.adoc
@@ -95,7 +95,7 @@ $ {
 * Ensure keyword `camel` is present
 * Remove the `preview` status
 
-9. Add itests to `.github/workflows/pr-build.yaml`, for instance:
+9. Add itests to `.github/workflows/ci-build.yaml`, for instance:
 +
 [source,yaml]
 ----
diff --git a/tooling/scripts/validate-github-workflows.groovy 
b/tooling/scripts/validate-github-workflows.groovy
index 3d9b510..39d9cb1 100644
--- a/tooling/scripts/validate-github-workflows.groovy
+++ b/tooling/scripts/validate-github-workflows.groovy
@@ -24,7 +24,7 @@ import org.yaml.snakeyaml.Yaml
 
 final Path treeRootDir = project.getBasedir().toPath()
 
-final String jobDefRelPath = '.github/workflows/pr-build.yaml'
+final String jobDefRelPath = '.github/workflows/ci-build.yaml'
 final Path jobDefPath = treeRootDir.resolve(jobDefRelPath)
 final Set<String> executedBaseNames = [] as Set
 

Reply via email to