mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +01:00
Update android.yml
This commit is contained in:
parent
c6212ca314
commit
9f9456f282
1 changed files with 6 additions and 2 deletions
8
.github/workflows/android.yml
vendored
8
.github/workflows/android.yml
vendored
|
|
@ -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}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue