test(e2e): only run kube max version on old e2e tests (backport of #11915) #5862
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Auto backport label | |
on: | |
pull_request_target: | |
types: [opened, synchronize, labeled] | |
env: | |
PREDEFINED_GLOBS: ".github/**/*,.circleci/**/*,Makefile,mk/**/*,tools/**/*,.golangci.yml,.kube-linter.yaml" | |
LABEL_TO_ADD: backport | |
NO_BACKPORT_AUTOLABEL: no-backport-autolabel | |
jobs: | |
backport_label: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Check diff and add label | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
run: | | |
tools/ci/needs_backporting.sh "${{ github.repository }}" "${{ github.event.pull_request.number }}" "origin/${{ github.base_ref }}" "HEAD" "$PREDEFINED_GLOBS" "$LABEL_TO_ADD" "$NO_BACKPORT_AUTOLABEL" |