add pull_requrest types merged

Signed-off-by: andy.lee <andy.lee@suse.com>
This commit is contained in:
andy.lee 2025-01-06 17:36:10 +08:00
parent 871ad2e88d
commit 0d94e66b8f
No known key found for this signature in database
GPG Key ID: 10911689462678C7
2 changed files with 3 additions and 1 deletions

View File

@ -9,6 +9,8 @@ on:
branches:
- main
- 'release-harvester-v*'
types:
- merged
jobs:
build-validation:

View File

@ -5,7 +5,7 @@ yarn --pure-lockfile install
source scripts/version
if [[ $COMMIT_BRANCH == "main" ]]; then
VERSION="test-release"
VERSION="latest"
else
VERSION=$COMMIT_BRANCH
fi