mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-13 05:12:55 -07:00
Update nightly workflow to create issues for scheduled run failures (#11531)
This commit is contained in:
@@ -137,7 +137,7 @@ jobs:
|
|||||||
a2a-package-name: '${{ vars.A2A_PACKAGE_NAME }}'
|
a2a-package-name: '${{ vars.A2A_PACKAGE_NAME }}'
|
||||||
|
|
||||||
- name: 'Create and Merge Pull Request'
|
- name: 'Create and Merge Pull Request'
|
||||||
if: "github.event.inputs.environment == 'prod'"
|
if: "github.event.inputs.environment != 'dev'"
|
||||||
uses: './.github/actions/create-pull-request'
|
uses: './.github/actions/create-pull-request'
|
||||||
with:
|
with:
|
||||||
branch-name: 'release/${{ steps.nightly_version.outputs.RELEASE_TAG }}'
|
branch-name: 'release/${{ steps.nightly_version.outputs.RELEASE_TAG }}'
|
||||||
@@ -148,7 +148,7 @@ jobs:
|
|||||||
working-directory: './release'
|
working-directory: './release'
|
||||||
|
|
||||||
- name: 'Create Issue on Failure'
|
- name: 'Create Issue on Failure'
|
||||||
if: "${{ failure() && github.event.inputs.environment == 'prod' && (github.event_name == 'schedule' || github.event.inputs.dry_run != 'true') }}"
|
if: "${{ failure() && github.event.inputs.environment != 'dev' && (github.event_name == 'schedule' || github.event.inputs.dry_run != 'true') }}"
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
|
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
|
||||||
RELEASE_TAG: '${{ steps.nightly_version.outputs.RELEASE_TAG }}'
|
RELEASE_TAG: '${{ steps.nightly_version.outputs.RELEASE_TAG }}'
|
||||||
|
|||||||
Reference in New Issue
Block a user