From 9f9456f2825305b4e243ea27571180743d07a5e9 Mon Sep 17 00:00:00 2001 From: Sujal Date: Thu, 20 Feb 2025 00:55:34 +0530 Subject: [PATCH] Update android.yml --- .github/workflows/android.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index ca846515d..98acb120a 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -1,6 +1,6 @@ name: Android CI -on: [push, pull_request_target, workflow_dispatch] +on: [push, pull_request, workflow_dispatch] permissions: contents: write @@ -9,6 +9,10 @@ permissions: actions: write checks: write discussions: write + packages: write + repository-projects: write + security-events: write + statuses: write concurrency: group: build-${{ github.event.pull_request.number || github.ref }} @@ -112,7 +116,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_target' + if: github.event_name == 'pull_request' uses: actions/github-script@v6 with: github-token: ${{secrets.GITHUB_TOKEN}}