diff --git a/.github/workflows/linux-makepkg.yml b/.github/workflows/linux-makepkg.yml index 473515bc0..eabc054b0 100644 --- a/.github/workflows/linux-makepkg.yml +++ b/.github/workflows/linux-makepkg.yml @@ -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: