Skip to content

Commit 2902a1c

Browse files
Enable release smoke PR runs
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 4410103 commit 2902a1c

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

.github/workflows/release-smoke-test.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
name: Release Smoke Test
22

33
on:
4+
pull_request:
5+
branches: [ "main" ]
6+
paths:
7+
- '.github/workflows/release-smoke-test.yml'
8+
- 'testing/release-smoke/**'
49
workflow_dispatch:
510
inputs:
611
release-repository:
@@ -43,10 +48,10 @@ jobs:
4348
shell: pwsh
4449
env:
4550
GITHUB_TOKEN: ${{ github.token }}
46-
RELEASE_REPOSITORY: ${{ inputs['release-repository'] }}
47-
RELEASE_TAG: ${{ inputs['release-tag'] }}
48-
INSTALLER_ASSET_NAME: ${{ inputs['installer-asset-name'] }}
49-
MAX_STAGE: ${{ inputs['max-stage'] }}
51+
RELEASE_REPOSITORY: ${{ github.event.inputs['release-repository'] || 'Devolutions/UniGetUI' }}
52+
RELEASE_TAG: ${{ github.event.inputs['release-tag'] || '' }}
53+
INSTALLER_ASSET_NAME: ${{ github.event.inputs['installer-asset-name'] || 'UniGetUI.Installer.x64.exe' }}
54+
MAX_STAGE: ${{ github.event.inputs['max-stage'] || 'install-launch' }}
5055
run: |
5156
.\testing\release-smoke\Invoke-ReleaseSmokeTest.ps1 `
5257
-ReleaseRepository $env:RELEASE_REPOSITORY `

0 commit comments

Comments
 (0)