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