From bcdd70c56f6de7ae0fc6e3affbae66d25c6cdcaf Mon Sep 17 00:00:00 2001 From: Monica Granbois Date: Mon, 23 Sep 2024 13:24:48 -0700 Subject: [PATCH] Moved paths-ignore from build.yaml to build-update-gitops.yaml as it was causing workflow to fail. Also renamed files to make it clear they do both build and update. --- ...tops-branch.yaml => build-update-gitops-pr-branch.yaml} | 0 .../{update-gitops.yaml => build-update-gitops.yaml} | 3 +++ .github/workflows/build.yaml | 7 +++---- 3 files changed, 6 insertions(+), 4 deletions(-) rename .github/workflows/{update-gitops-branch.yaml => build-update-gitops-pr-branch.yaml} (100%) rename .github/workflows/{update-gitops.yaml => build-update-gitops.yaml} (96%) diff --git a/.github/workflows/update-gitops-branch.yaml b/.github/workflows/build-update-gitops-pr-branch.yaml similarity index 100% rename from .github/workflows/update-gitops-branch.yaml rename to .github/workflows/build-update-gitops-pr-branch.yaml diff --git a/.github/workflows/update-gitops.yaml b/.github/workflows/build-update-gitops.yaml similarity index 96% rename from .github/workflows/update-gitops.yaml rename to .github/workflows/build-update-gitops.yaml index c13759e..5241411 100644 --- a/.github/workflows/update-gitops.yaml +++ b/.github/workflows/build-update-gitops.yaml @@ -12,6 +12,9 @@ on: - '.github/**' - 'README.md' - '.husky/**' + - 'catalog-info.yaml' + - '**/*.md' + - 'examples/**' branches: ['main'] # save resources. Don't take up a queue space doing a duplicate build diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 2f008fa..3e94a21 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -1,3 +1,6 @@ +# Builds the docker image. +# Note: This workflow is expected to be called by other workflows and not run on its own + name: Build Image env: @@ -6,10 +9,6 @@ env: on: workflow_call: - paths-ignore: - - 'catalog-info.yaml' - - '**/*.md' - - 'examples/**' jobs: build: