diff --git a/.github/workflows/_integration-tests.yaml b/.github/workflows/_integration-tests.yaml index 2415632..10acb03 100644 --- a/.github/workflows/_integration-tests.yaml +++ b/.github/workflows/_integration-tests.yaml @@ -7,6 +7,11 @@ on: description: 'The image to test' required: true type: string + trigger_btp: + description: 'Trigger BTP integration test' + required: false + type: boolean + default: false jobs: @@ -58,7 +63,7 @@ jobs: GARDENER_SA_PATH: /tmp/gardener-sa.yaml btp-integration-tests: - if: ${{ !startsWith(github.event_name, 'pull_request') }} + if: ${{ inputs.trigger_btp }} runs-on: ubuntu-latest defaults: run: diff --git a/.github/workflows/create-release.yaml b/.github/workflows/create-release.yaml index f2aa4a4..51099e8 100644 --- a/.github/workflows/create-release.yaml +++ b/.github/workflows/create-release.yaml @@ -130,6 +130,7 @@ jobs: uses: ./.github/workflows/_integration-tests.yaml with: image: europe-docker.pkg.dev/kyma-project/prod/dockerregistry-operator:${{ github.event.inputs.name }} + trigger_btp: true publish-release: name: Publish release