Trigger chained e2e tests on all pull requests (#14551)

This commit is contained in:
Tommaso Sciortino
2025-12-04 17:28:50 -08:00
committed by GitHub
parent 7db5abdecf
commit bedce8aacf

View File

@@ -11,7 +11,7 @@ on:
description: 'SHA of the commit to test' description: 'SHA of the commit to test'
required: false required: false
type: 'string' type: 'string'
# pull_request: pull_request:
jobs: jobs:
save_repo_name: save_repo_name:
@@ -19,10 +19,8 @@ jobs:
steps: steps:
- name: 'Save Repo name' - name: 'Save Repo name'
env: env:
# add "|| github.event.pull_request.head.repo.full_name" REPO_NAME: '${{ github.event.inputs.repo_name || github.event.pull_request.head.repo.full_name }}'
REPO_NAME: '${{ github.event.inputs.repo_name || github.event.repository.name }}' HEAD_SHA: '${{ github.event.inputs.head_sha || github.event.pull_request.head.sha }}'
# add "|| github.event.pull_request.head.sha"
HEAD_SHA: '${{ github.event.inputs.head_sha }}'
run: | run: |
mkdir -p ./pr mkdir -p ./pr
echo '${{ env.REPO_NAME }}' > ./pr/repo_name echo '${{ env.REPO_NAME }}' > ./pr/repo_name