Merge pull request #7874 from fidencio/topic/manually-rebase-branches-atop-of-the-target-one

gha: Manually rebase PR atop of the target branch before testing
This commit is contained in:
GabyCT
2023-09-11 10:35:01 -06:00
committed by GitHub
20 changed files with 258 additions and 4 deletions

View File

@@ -17,6 +17,10 @@ on:
commit-hash:
required: false
type: string
target-branch:
required: false
type: string
default: ""
jobs:
run-k8s-tests:
@@ -46,6 +50,13 @@ jobs:
- uses: actions/checkout@v3
with:
ref: ${{ inputs.commit-hash }}
fetch-depth: 0
- name: Rebase atop of the latest target branch
run: |
./tests/git-helper.sh "rebase-atop-of-the-latest-target-branch"
env:
TARGET_BRANCH: ${{ inputs.target-branch }}
- name: Download Azure CLI
run: bash tests/integration/kubernetes/gha-run.sh install-azure-cli