chore: ignore PR when Pre-releasing

This commit is contained in:
Larvan2 committed 2023-09-18 19:36:11 +08:00
1 parent 7c21768e99
commit fd96efd456
1 file changed
+1 -1
+1 -1
View File
@@ -209,7 +209,7 @@ jobs:
Upload-Prerelease:
permissions: write-all
if: ${{ github.ref_type=='branch' }}
if: ${{ github.ref_type=='branch' && github.event_name != 'pull_request' }}
needs: [Build]
runs-on: ubuntu-latest
steps: