From d057a6f5d402e569a5e3ce1c99cb2cf05ba1c88d Mon Sep 17 00:00:00 2001 From: csviri Date: Tue, 13 Jun 2023 14:23:33 +0200 Subject: [PATCH] branch name fix --- .github/workflows/integration-tests.yml | 5 +++++ .github/workflows/pr-fabric8-snapshot-daily.yml | 2 ++ .github/workflows/pr.yml | 2 ++ 3 files changed, 9 insertions(+) diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index a66ade82a9..38b8fce128 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -3,6 +3,9 @@ name: Parameterized Integration Tests on: workflow_call: inputs: + branch-name: + type: string + required: true java-version: type: string required: true @@ -27,6 +30,8 @@ jobs: - name: Output test information run: echo "Running ITs with ${{ inputs.http-client }}, ${{ inputs.kube-version }}, ${{ inputs.java-version }}" - uses: actions/checkout@v4 + with: + ref: ${{ inputs.branch-name }} - name: Set up Java and Maven uses: actions/setup-java@v3 with: diff --git a/.github/workflows/pr-fabric8-snapshot-daily.yml b/.github/workflows/pr-fabric8-snapshot-daily.yml index 1e13144c20..d14524d312 100644 --- a/.github/workflows/pr-fabric8-snapshot-daily.yml +++ b/.github/workflows/pr-fabric8-snapshot-daily.yml @@ -40,6 +40,7 @@ jobs: with: java-version: ${{ matrix.java }} kube-version: ${{ matrix.kubernetes }} + branch-name: fabric8-next-version httpclient-tests: strategy: @@ -51,6 +52,7 @@ jobs: kube-version: 'v1.25.5' http-client: ${{ matrix.httpclient }} experimental: true + branch-name: fabric8-next-version special_integration_tests: runs-on: ubuntu-latest diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 44281a2b4b..3c6a62b7c4 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -40,6 +40,7 @@ jobs: with: java-version: ${{ matrix.java }} kube-version: ${{ matrix.kubernetes }} + branch-name: ${GITHUB_REF##*/} httpclient-tests: strategy: @@ -51,6 +52,7 @@ jobs: kube-version: 'v1.28.2' http-client: ${{ matrix.httpclient }} experimental: true + branch-name: ${GITHUB_REF##*/} special_integration_tests: runs-on: ubuntu-latest