diff --git a/.github/workflows/artifact-links.yml b/.github/workflows/artifact-links.yml new file mode 100644 index 00000000..411d0fb2 --- /dev/null +++ b/.github/workflows/artifact-links.yml @@ -0,0 +1,20 @@ +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: pullandissues