Skip to content

Post direct APK download link as sticky PR comment#7

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/update-apk-link-posting
Draft

Post direct APK download link as sticky PR comment#7
Copilot wants to merge 2 commits intomainfrom
copilot/update-apk-link-posting

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 4, 2026

Previously the workflow uploaded the APK as a zipped artifact and posted a new comment per run linking to the workflow run page, not the file itself.

Changes

  • Direct download link — replaces actions/upload-artifact with ncipollo/release-action, creating/updating a per-PR pre-release tagged pr-{number} with the .apk as a release asset. Download URL resolves directly to the APK:
    https://github.com/{owner}/{repo}/releases/download/pr-{number}/app-debug.apk
    
  • Sticky comment — comment step embeds an HTML marker to locate any existing comment and update it in-place; only creates a new comment on the first run.
  • contents: write permission — added, required by the release action to create/update releases and upload assets.

Copilot AI changed the title [WIP] Update PR action to post direct APK download link Post direct APK download link as sticky PR comment Apr 4, 2026
Copilot AI requested a review from LukeNeedham April 4, 2026 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants