From 30d9a336bc9dace0d7784a5750d8ef080651bc26 Mon Sep 17 00:00:00 2001 From: Shreya Keshive Date: Mon, 20 Oct 2025 13:12:13 -0700 Subject: [PATCH] Update nightly workflow to create issues for scheduled run failures (#11531) --- .github/workflows/release-nightly.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-nightly.yml b/.github/workflows/release-nightly.yml index 9f3b2d0087..d1cf14af37 100644 --- a/.github/workflows/release-nightly.yml +++ b/.github/workflows/release-nightly.yml @@ -137,7 +137,7 @@ jobs: a2a-package-name: '${{ vars.A2A_PACKAGE_NAME }}' - name: 'Create and Merge Pull Request' - if: "github.event.inputs.environment == 'prod'" + if: "github.event.inputs.environment != 'dev'" uses: './.github/actions/create-pull-request' with: branch-name: 'release/${{ steps.nightly_version.outputs.RELEASE_TAG }}' @@ -148,7 +148,7 @@ jobs: working-directory: './release' - 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: GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}' RELEASE_TAG: '${{ steps.nightly_version.outputs.RELEASE_TAG }}'