Artifact links comments creator #1920
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: 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/[email protected] | |
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 |