From 161ec764a37b4a2029330aad3be21aa6e4b9c7bc Mon Sep 17 00:00:00 2001 From: blckmn Date: Thu, 23 Jun 2022 21:49:53 +1000 Subject: [PATCH] Adding back the artifacts creation --- .github/workflows/artifact-links.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/artifact-links.yml 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