From 3f27ec4562a4327ce779e2c95a53ab0094815c21 Mon Sep 17 00:00:00 2001 From: Vertexwahn Date: Wed, 30 Jun 2021 20:05:30 +0200 Subject: [PATCH] Do not do a Bazel Build on old OpenEXR branches (#1071) * Add license information for bazel build Signed-off-by: Vertexwahn * Do not perform CI Bazel builds on old OpenEXR versions Signed-off-by: Vertexwahn --- .github/workflows/bazel_build.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/bazel_build.yml b/.github/workflows/bazel_build.yml index e7ec35c233..e031c1ce02 100644 --- a/.github/workflows/bazel_build.yml +++ b/.github/workflows/bazel_build.yml @@ -1,7 +1,22 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright (c) Contributors to the OpenEXR Project. +# +# GitHub Actions workflow file +# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions + name: Bazel on: - push: {} + push: + # Versioned branches and tags are ignored for OpenEXR <= 1.x.x + branches-ignore: + - RB-2.* + tags-ignore: + - v1.* + - v2.* + # Jobs are skipped when ONLY Markdown (*.md) files are changed + paths-ignore: + - '**.md' jobs: build: