fix(ci): Default all GHA env variables to 'prod' set (#11572)

Co-authored-by: Shreya Keshive <shreyakeshive@google.com>
This commit is contained in:
Richie Foreman
2025-10-21 15:02:48 -04:00
committed by GitHub
parent 193b4bba91
commit 74a7771943
9 changed files with 12 additions and 12 deletions

View File

@@ -50,7 +50,7 @@ jobs:
trigger-patch-release:
if: "(github.event_name == 'pull_request' && github.event.pull_request.merged == true && startsWith(github.event.pull_request.head.ref, 'hotfix/')) || github.event_name == 'workflow_dispatch'"
runs-on: 'ubuntu-latest'
environment: '${{ github.event.inputs.environment }}'
environment: "${{ github.event.inputs.environment || 'prod' }}"
permissions:
actions: 'write'
contents: 'write'
@@ -83,7 +83,7 @@ jobs:
GITHUB_EVENT_PAYLOAD: '${{ toJSON(github.event) }}'
FORCE_SKIP_TESTS: '${{ github.event.inputs.force_skip_tests }}'
TEST_MODE: '${{ github.event.inputs.test_mode }}'
ENVIRONMENT: '${{ github.event.inputs.environment }}'
ENVIRONMENT: "${{ github.event.inputs.environment || 'prod' }}"
DRY_RUN: '${{ github.event.inputs.dry_run }}'
run: |
node scripts/releasing/patch-trigger.js --dry-run="${DRY_RUN}"