From 155c44ac7b431ab111cbb22aaa2c8ed9de1a123d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 11 Jun 2026 17:54:45 +0000 Subject: [PATCH] Skip APK upload and PR comment for fork PRs --- .github/workflows/preview-apk.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/preview-apk.yml b/.github/workflows/preview-apk.yml index 7129fb5be..465064d2b 100644 --- a/.github/workflows/preview-apk.yml +++ b/.github/workflows/preview-apk.yml @@ -77,12 +77,14 @@ jobs: - name: Upload APK id: upload + if: github.event.pull_request.head.repo.full_name == github.repository uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: name: app-preview.apk path: 'build/outputs/apk/foss/debug/*.apk' - name: Add artifact links to PR + if: github.event.pull_request.head.repo.full_name == github.repository uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: ARTIFACT_URL: ${{ steps.upload.outputs.artifact-url }}