Add artifact links to pull request #662
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: [RunTests] | |
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: | |
- uses: tonyhallett/artifacts-url-comments@v1.1.0 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
prefix: "Build for this pull request:" | |
format: "[MobiFlightConnector.zip]({url})" | |
addTo: pull |