From 4ae6c0bbc4459ed58595cde166d29039f48bdfcd Mon Sep 17 00:00:00 2001 From: =Michael Keller Date: Sun, 12 May 2024 21:57:41 +1200 Subject: [PATCH] CICD: Add Workflow to Pin the Generated Artifacts. Signed-off-by: Michael Keller --- .github/workflows/artifact-links.yml | 21 +++++++++++++++++++++ .github/workflows/mac.yml | 1 + 2 files changed, 22 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 000000000..69db2dd68 --- /dev/null +++ b/.github/workflows/artifact-links.yml @@ -0,0 +1,21 @@ +name: Add artifact links to pull request + +on: + workflow_run: + workflows: ["Ubuntu 16.04 / Qt 5.15-- for AppImage", "Mac", "Windows", "Android", "iOS"] + 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: "**Artifacts:**" + suffix: "_**WARNING:** Use at your own risk._" + format: name + addTo: pull diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml index 88ebdb2b4..19e4809f3 100644 --- a/.github/workflows/mac.yml +++ b/.github/workflows/mac.yml @@ -1,4 +1,5 @@ name: Mac + on: push: paths-ignore: