forked from OctopusDeploy/Library
-
Notifications
You must be signed in to change notification settings - Fork 0
24 lines (22 loc) · 742 Bytes
/
Copy pathHyponome.yml
File metadata and controls
24 lines (22 loc) · 742 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name: Link to hyponome
on:
pull_request_target:
types: [opened]
paths:
- 'step-templates/**'
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: `Start Hyponome locally
docker pull ghcr.io/hnrkndrssn/hyponome:main
docker run --rm -p 8000:8080 -it ghcr.io/hnrkndrssn/hyponome:main
[Review in Hyponome](http://localhost:8000/pulls/${context.issue.number})`
})