From 7f9536246492d915bae98856ddcb832961df4b2b Mon Sep 17 00:00:00 2001 From: Chris Werner Rau Date: Tue, 17 Dec 2024 14:48:31 +0100 Subject: [PATCH] fix(ci): branch filter --- .github/workflows/release-update-metadata.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-update-metadata.yaml b/.github/workflows/release-update-metadata.yaml index d0068cbad..7f85a0ed8 100644 --- a/.github/workflows/release-update-metadata.yaml +++ b/.github/workflows/release-update-metadata.yaml @@ -5,18 +5,17 @@ concurrency: on: pull_request: - types: - - opened - - synchronize branches: - - release-please--branches--main--components-* + - main jobs: getChangedChart: + if: startsWith(github.head_ref, 'release-please--branches--main--components--') uses: ./.github/workflows/get-changed-chart.yaml with: pr_number: ${{ github.event.pull_request.number }} update-metadata-files: + if: startsWith(github.head_ref, 'release-please--branches--main--components--') runs-on: ubuntu-latest needs: getChangedChart name: update metadata file for release