Revert "chore(test): skip test when only docs be changed (#5207)" #2712
Workflow file for this run
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: trigger e2e (targeted) on label | |
on: | |
pull_request: | |
types: | |
- labeled | |
jobs: | |
trigger-e2e-tests-targeted: | |
if: contains(github.event.*.labels.*.name, 'ci/run-e2e') | |
runs-on: ubuntu-latest | |
env: | |
GH_TOKEN: ${{ secrets.K8S_TEAM_BOT_GH_PAT }} | |
WORKFLOW: .github/workflows/e2e_targeted.yaml | |
BRANCH: ${{ github.event.pull_request.head.ref }} | |
PR_NUMBER: ${{ github.event.pull_request.number }} | |
steps: | |
- uses: actions/checkout@v4 | |
# Do not run e2e tests on GKE-based clusters for specific PR, because currently | |
# there is no way to use an image built from PR's code for those tests. | |
# https://github.com/Kong/kubernetes-testing-framework/issues/587 | |
- run: | | |
gh workflow run ${WORKFLOW} --ref ${BRANCH} \ | |
-f run-gke=false \ | |
-f run-istio=true \ | |
-f all-supported-k8s-versions=true \ | |
-f pr-number=${PR_NUMBER} |