Adding demo of autocomment in readme #43
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: Auto Comment | |
on: | |
issues: | |
pull_request_target: | |
types: [closed, opened] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: 🚧 Install | |
run: | | |
yarn | |
- name: 📦 Build | |
run: | | |
yarn build | |
- uses: ./ | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
issuesOpened: > | |
👋 @{{ author }} | |
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. | |
Please make sure you have given us as much context as possible. | |
pullRequestClosed: > | |
👋 @{{ author }} This PR is closed. | |
pullRequestMerged: > | |
👋 @{{ author }} This PR is merged. | |
pullRequestOpened: > | |
👋 @{{ author }} | |
Thank you for raising your pull request. | |
Please make sure you have followed our contributing guidelines. We will review it as soon as possible | |
issuesTransferred: | | |
"Hi @{{ author }}, | |
It looks like your issue has been transferred to the Consul on Kubernetes repository. | |
If your issue is a question or bug report, there is some additional context that will | |
help us solve your issue. Please reply with the following information if it is not | |
included in your original issue: | |
- the [Helm values](https://www.consul.io/docs/k8s/helm) you used to install Consul | |
on Kubernetes | |
- the version of Consul on Kubernetes used | |
- the version of Kubernetes you are using | |
- if you installed Consul on Kubernetes using Helm or the Consul-K8s CLI" |