add artifact links to pull request #2523
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: add artifact links to pull request | |
on: | |
workflow_run: | |
workflows: ["Upload Preview APK"] | |
types: [completed] | |
jobs: | |
artifacts-url-comments: | |
name: add artifact links to pull request | |
runs-on: windows-2019 | |
if: ${{ github.event.workflow_run.conclusion == 'success' }} | |
steps: | |
- name: add artifact links to pull request | |
uses: tonyhallett/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
prefix: "**To test the changes in this pull request, install this apk:**" | |
format: "[📦 {name}]({url})" | |
addTo: pull |