Update android.yml

This commit is contained in:
Sujal 2025-02-19 16:59:49 +05:30 committed by GitHub
parent bf9ab8a359
commit ec4f1ae121
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 }}