Add 1Password Connect Secret Retrieval Step Template #24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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})` | |
}) |