From ef7101f65e8828e13d9d9f96fdb29e81d214ac46 Mon Sep 17 00:00:00 2001 From: Shane Gill Date: Fri, 9 Aug 2024 08:48:12 +1000 Subject: [PATCH] Hyponome link (#1545) * Try commenting with hyponome link... * Quote * Does this work? * Singles * This time for sure * I dont get it * .... * Does this syntax work * It's js? * Only on open --- .github/workflows/Hyponome.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/Hyponome.yml diff --git a/.github/workflows/Hyponome.yml b/.github/workflows/Hyponome.yml new file mode 100644 index 00000000..dce19f2d --- /dev/null +++ b/.github/workflows/Hyponome.yml @@ -0,0 +1,17 @@ +name: Link to hyponome +on: + pull_request: + types: [opened] +jobs: + comment: + runs-on: ubuntu-latest + steps: + - uses: actions/github-script@v6 + with: + script: | + github.rest.issues.createComment({ + issue_number: context.issue.number, + owner: context.repo.owner, + repo: context.repo.repo, + body: `[Review in hyponome](https://hyponome-aha-webapp.azurewebsites.net/pulls/${context.issue.number})` + }) \ No newline at end of file