add artifact links to pull request and related issues #605
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 and related issues | |
on: | |
workflow_run: | |
workflows: ['PR Build'] | |
types: [completed] | |
jobs: | |
artifacts-url-comments: | |
name: add artifact links to pull request and related issues job | |
runs-on: windows-2019 | |
steps: | |
- name: add artifact links to pull request and related issues step | |
uses: tonyhallett/artifacts-url-comments@main | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
prefix: Here are the build results | |
suffix: Artifacts will only be retained for 90 days. | |
format: name | |
addTo: pull | |
continue-on-error: true |