mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-10 14:10:37 -07:00
Trigger chained e2e tests on all pull requests (#14551)
This commit is contained in:
committed by
GitHub
parent
7db5abdecf
commit
bedce8aacf
8
.github/workflows/trigger_e2e.yml
vendored
8
.github/workflows/trigger_e2e.yml
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user