From c6c676f2ac7c9f2c732aa5837428f0f198bdfdd8 Mon Sep 17 00:00:00 2001 From: Julian Wiesler Date: Mon, 27 Feb 2023 19:16:15 +0100 Subject: [PATCH 1/2] Artiweb comment workflow --- .github/workflows/artiweb.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/artiweb.yml diff --git a/.github/workflows/artiweb.yml b/.github/workflows/artiweb.yml new file mode 100644 index 00000000000..cb2ef581318 --- /dev/null +++ b/.github/workflows/artiweb.yml @@ -0,0 +1,19 @@ +on: + pull_request: + branches: + - master + +jobs: + comment: + runs-on: ubuntu-latest + steps: + - uses: actions/github-script@v5 + with: + github-token: ${{secrets.GITHUB_TOKEN}} + script: | + github.rest.issues.createComment({ + issue_number: context.issue.number, + owner: context.repo.owner, + repo: context.repo.repo, + body: `Test artifacts will be available on [Artiweb](https://keyproject.github.io/artiweb/${context.issue.number}/).` + }) From 56483beb3bb1122256c4dede62b0f5cbab635ca3 Mon Sep 17 00:00:00 2001 From: Alexander Weigl Date: Fri, 3 Mar 2023 15:16:30 +0100 Subject: [PATCH 2/2] Update artiweb.yml --- .github/workflows/artiweb.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/artiweb.yml b/.github/workflows/artiweb.yml index cb2ef581318..850c0aad243 100644 --- a/.github/workflows/artiweb.yml +++ b/.github/workflows/artiweb.yml @@ -1,7 +1,6 @@ on: pull_request: - branches: - - master + types: [opened, reopened] jobs: comment: