We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89ad5b4 commit a435041Copy full SHA for a435041
.github/workflows/azure-dev.yml
@@ -42,7 +42,7 @@ jobs:
42
build:
43
runs-on: ${{ fromJson(vars.ACTIONS_RUNNER_NAME || '["ubuntu-latest"]') }}
44
env:
45
- AZURE_ENV_NAME: ${{ github.event.inputs.azd_environment_name || 'CICD' }}
+ AZURE_ENV_NAME: ${{ github.event.inputs.azd_environment_name || (github.event_name == 'pull_request' && format('pr-{0}', github.event.pull_request.number)) || 'CICD' }}
46
AZURE_LOCATION: ${{ github.event.inputs.azure_location || 'eastus' }}
47
48
steps:
0 commit comments