CI: no releases for pr runs

This commit is contained in:
Dan Kluser
2026-05-14 13:15:15 +02:00
parent 9d65d7a391
commit 01205507fd
2 changed files with 4 additions and 8 deletions

View File

@@ -94,7 +94,7 @@ jobs:
> image/output/ps5-${{ matrix.distro }}.img.xz
- name: Upload to R2
if: github.event_name != 'pull_request'
if: github.event_name != 'pull_request' && github.event_name != 'pull_request_target'
env:
RCLONE_CONFIG_R2_TYPE: s3
RCLONE_CONFIG_R2_PROVIDER: Cloudflare
@@ -123,7 +123,7 @@ jobs:
retention-days: 1
- name: Upload to remote
if: github.event_name != 'pull_request'
if: github.event_name != 'pull_request' && github.event_name != 'pull_request_target'
env:
SSH_KEY: ${{ secrets.REMOTE_SSH_KEY }}
SSH_CONFIG: ${{ secrets.REMOTE_SSH_CONFIG }}
@@ -146,7 +146,7 @@ jobs:
release:
needs: build
runs-on: self-hosted
if: github.event_name != 'pull_request'
if: github.event_name != 'pull_request' && github.event_name != 'pull_request_target'
permissions:
contents: write
steps: