Skip to content

Commit 0d0cb21

Browse files
committed
feat: enhance draft release message to clarify automatic updates and deletion on PR closure
1 parent 8a9e3f6 commit 0d0cb21

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/pr-preview.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ jobs:
242242
with:
243243
tag_name: "PR-${{ github.event.pull_request.number }}"
244244
name: "Draft Release for PR #${{ github.event.pull_request.number }}"
245-
body: "This is a draft release for PR #${{ github.event.pull_request.number }}. It contains the debug and release APKs for testing."
245+
body: "This is a draft release for PR #${{ github.event.pull_request.number }}. It contains the debug and release APKs for testing. It will be updated with new APKs on each commit to the PR and will be deleted when the PR is merged or closed."
246246
draft: true
247247
prerelease: false
248248
files: |
@@ -253,7 +253,7 @@ jobs:
253253
comment-pr:
254254
runs-on: ubuntu-latest
255255
name: Comment on PR
256-
needs: [ build-debug, build-release, draft-release]
256+
needs: [ build-debug, build-release, draft-release ]
257257
steps:
258258
- name: Get Release Assets Info
259259
id: release_assets
@@ -386,7 +386,8 @@ jobs:
386386
387387
### Draft Release
388388
${draftReleaseUrl && draftReleaseUrl !== 'null' ? `<div align="left"><a href="${draftReleaseUrl}"><img src="https://img.shields.io/badge/🔗%20View%20All%20Files-Draft%20Release-red?style=for-the-badge&logo=github&logoColor=white" alt="View Draft Release"/></a></div>` : ''}
389-
389+
> Draft release will automatically update with new APKs on each PR commit
390+
And will be deleted when the PR is merged or closed
390391
---
391392
392393
**🧪 Testing Notes:**

0 commit comments

Comments
 (0)