Skip to content

Commit 3cff845

Browse files
committed
Comment on PR
Signed-off-by: alperozturk <alper_ozturk@proton.me>
1 parent a5ef21a commit 3cff845

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/android.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# SPDX-FileCopyrightText: 2023-2024 Nextcloud GmbH and Nextcloud contributors
2+
# SPDX-FileCopyrightText: 2025 Alper Ozturk <alper.ozturk@nextcloud.com>
23
# SPDX-FileCopyrightText: 2020-2024 Stefan Niedermann <info@niedermann.it>
34
# SPDX-FileCopyrightText: 2023 Álvaro Brey <alvaro.brey@nextcloud.com>
45
# SPDX-License-Identifier: GPL-3.0-or-later
@@ -12,6 +13,7 @@ on:
1213

1314
permissions:
1415
contents: read
16+
pull-requests: write
1517

1618
jobs:
1719
validation:
@@ -78,3 +80,15 @@ jobs:
7880
with:
7981
name: app-dev-debug
8082
path: app/build/outputs/apk/dev/debug/app-dev-debug.apk
83+
84+
- name: Comment on PR
85+
if: github.event_name == 'pull_request'
86+
uses: actions/github-script@v7
87+
with:
88+
script: |
89+
github.rest.issues.createComment({
90+
issue_number: context.issue.number,
91+
owner: context.repo.owner,
92+
repo: context.repo.repo,
93+
body: '🎉 Debug APK built and uploaded! You can find it in the [workflow artifacts](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}).'
94+
})

0 commit comments

Comments
 (0)