betaflight-configurator/.github/workflows/artifact-links.yml

21 lines
666 B
YAML
Raw Normal View History

2022-02-14 08:34:51 +00:00
name: Artifact links comments creator
on:
workflow_run:
2022-02-15 09:26:51 +00:00
workflows: ["PR"]
2022-02-14 08:34:51 +00:00
types: [completed]
jobs:
artifacts-url-comments:
name: Add artifact links to PR and issues
2022-02-15 09:26:51 +00:00
runs-on: ubuntu-20.04
2022-02-14 08:34:51 +00:00
steps:
- name: Add artifact links to PR and issues
uses: tonyhallett/artifacts-url-comments@v1.1.0
env:
2022-02-15 09:26:51 +00:00
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2022-02-14 08:34:51 +00:00
with:
2022-02-15 09:26:51 +00:00
prefix: "Do you want to test this code? Here you have an automated build:"
suffix: "WARNING: It may be unstable and result in corrupted configurations or data loss. Use only for testing!"
format: name
addTo: pullandissues