From ec4f1ae121b7200665509ca0ffee774abcf9ae3b Mon Sep 17 00:00:00 2001 From: Sujal Date: Wed, 19 Feb 2025 16:59:49 +0530 Subject: [PATCH] Update android.yml --- .github/workflows/android.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 529b64652..699f1d93b 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -1,10 +1,11 @@ name: Android CI -on: [push, pull_request, workflow_dispatch] +on: [push, pull_request_target, workflow_dispatch] permissions: pull-requests: write contents: read + issues: write concurrency: group: build-${{ github.event.pull_request.number || github.ref }} @@ -108,7 +109,7 @@ jobs: path: app/build/outputs/apk/prod/debug/app-*.apk - name: Comment on PR with APK download links - if: github.event_name == 'pull_request' + if: github.event_name == 'pull_request_target' uses: actions/github-script@v6 with: github-token: ${{ secrets.GITHUB_TOKEN }}