diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index ef1ecf1633..dee1739187 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@v3 + 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 f2f714c804..0db8501541 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.25.5' http-client: ${{ matrix.httpclient }} experimental: true + branch-name: ${GITHUB_REF##*/} special_integration_tests: runs-on: ubuntu-latest