ci(copr): Trigger release job only for non-prereleases (#4297)

Updated the CI workflow to ensure the release job runs only when a release is not marked as a prerelease. This prevents the release job from executing on prerelease events.
This commit is contained in:
ReenigneArcher 2025-09-24 17:43:45 -04:00 committed by GitHub
parent 86188d47a7
commit 2a3a4094ac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -43,7 +43,8 @@ jobs:
name: Release
if:
github.event_name == 'release' &&
startsWith(github.repository, 'LizardByte/')
startsWith(github.repository, 'LizardByte/') &&
github.event.release.prerelease == false
needs:
- call-copr-ci
permissions: