From 097507e54f96cc7d76b3d835fc95949c2f1514e5 Mon Sep 17 00:00:00 2001 From: Jonathan Knight Date: Mon, 22 Jun 2020 16:22:08 +0300 Subject: [PATCH] Run CI and K8s tests on all code branches and PRs --- .github/workflows/build.yaml | 15 +++++++++++---- .github/workflows/k8s-matrix.yaml | 12 ++++++++++-- 2 files changed, 21 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index dca34645e..d8d87d5d9 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -9,11 +9,18 @@ name: Operator CI on: push: - branches: - - '*' + branches-ignore: + - gh-pages + - 1.0.0 + - 2.x pull_request: - branches: - - master + types: + - opened + - committed + branches-ignore: + - gh-pages + - 1.0.0 + - 2.x env: RELEASE_IMAGE_PREFIX: "localhost:5000/" diff --git a/.github/workflows/k8s-matrix.yaml b/.github/workflows/k8s-matrix.yaml index 6d071d7d3..299ff8677 100644 --- a/.github/workflows/k8s-matrix.yaml +++ b/.github/workflows/k8s-matrix.yaml @@ -9,8 +9,16 @@ name: K8s Certification on: push: - branches: - - '3.0.0' + branches-ignore: + - gh-pages + pull_request: + types: + - opened + - committed + branches-ignore: + - gh-pages + - 1.0.0 + - 2.x env: MAVEN_USER: ${{ secrets.MAVEN_USER }}