Add firmware links to pull request #424
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 firmware links to pull request | |
on: | |
workflow_run: | |
workflows: [Firmware pull request validation] | |
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/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
prefix: "Firmware for this pull request:" | |
format: "[Firmware.zip]({url})" | |
addTo: pull |