add-exe-build-artifacts-to-PR #2
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-exe-build-artifacts-to-PR | |
on: | |
workflow_run: | |
workflows: [build-ss3] | |
types: [completed] | |
workflow_dispatch: | |
jobs: | |
artifacts-url-comments: | |
name: add artifact links to pull request and related issues job | |
runs-on: ubuntu-latest | |
if: ${{ github.event.workflow_run.conclusion == 'success'}} | |
steps: | |
- name: add artifact links to PR and issues | |
uses: tonyhallett/artifacts-url-comments@v1.1.0 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
prefix: 'Here are the successful executable builds from your PR:' | |
format: name | |
addTo: pullandissues |