make pr-creation condition more explicit

This commit is contained in:
Armin Schrenk
2026-02-16 16:52:27 +01:00
parent b3a5265b98
commit 5e29f08d2b

View File

@@ -77,7 +77,7 @@ jobs:
create-pr:
name: Create PR for AUR
if: github.event_name == 'workflow_dispatch' && inputs.create-pr || needs.get-version.outputs.versionType == 'stable'
if: github.event_name == 'workflow_dispatch' && inputs.create-pr || github.event_name == 'release' && needs.get-version.outputs.versionType == 'stable'
runs-on: ubuntu-latest
needs: [get-version, makepkg]
container: