21 lines
657 B
YAML
21 lines
657 B
YAML
name: Artifact links comments creator
|
|
on:
|
|
workflow_run:
|
|
workflows: ["PR"]
|
|
types: [completed]
|
|
|
|
jobs:
|
|
artifacts-url-comments:
|
|
name: Add artifact links to PR and issues
|
|
runs-on: ubuntu-22.04
|
|
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: "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: pull
|