You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2020/10/12 11:56:41 UTC

[camel-quarkus] branch master updated: Prevent CI workflows running on forks

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 a417446  Prevent CI workflows running on forks
a417446 is described below

commit a4174460f67bfb792d331512abbab928c7d71dd5
Author: James Netherton <ja...@gmail.com>
AuthorDate: Mon Oct 12 12:24:00 2020 +0100

    Prevent CI workflows running on forks
---
 .github/workflows/ci-build.yaml   | 1 +
 .github/workflows/pr-validate.yml | 1 +
 2 files changed, 2 insertions(+)

diff --git a/.github/workflows/ci-build.yaml b/.github/workflows/ci-build.yaml
index bb8b96e..c5f6b6d 100644
--- a/.github/workflows/ci-build.yaml
+++ b/.github/workflows/ci-build.yaml
@@ -50,6 +50,7 @@ env:
 
 jobs:
   initial-mvn-install:
+    if: github.repository == 'apache/camel-quarkus'
     runs-on: ubuntu-latest
     outputs:
       matrix: ${{ steps.set-native-matrix.outputs.matrix }}
diff --git a/.github/workflows/pr-validate.yml b/.github/workflows/pr-validate.yml
index f9b5a53..b2fca93 100644
--- a/.github/workflows/pr-validate.yml
+++ b/.github/workflows/pr-validate.yml
@@ -38,6 +38,7 @@ env:
 
 jobs:
   check-format:
+    if: github.repository == 'apache/camel-quarkus'
     runs-on: ubuntu-latest
     steps:
     - name: Setup apache-snapshots profile