Mention server_metrics()
and data_metrics()
in FAQ How to get notified when the server state changes
#268
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
on: | |
issues: | |
types: | |
- opened | |
# https://github.com/marketplace/actions/create-or-update-comment | |
jobs: | |
welcome: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: peter-evans/create-or-update-comment@v1 | |
with: | |
issue-number: ${{ github.event.issue.number }} | |
body: | | |
👋 Thanks for opening this issue! | |
Get help or engage by: | |
- `/help` : to print help messages. | |
- `/assignme` : to assign this issue to you. | |
# Another way: actions/github-script | |
# # https://github.com/actions/github-script#comment-on-an-issue | |
# jobs: | |
# welcome: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/github-script@v5 | |
# with: | |
# script: | | |
# github.rest.issues.createComment({ | |
# issue_number: context.issue.number, | |
# owner: context.repo.owner, | |
# repo: context.repo.repo, | |
# body: [ | |
# '👋 Thanks for opening this issue!', | |
# '', | |
# 'Get help or engage by:', | |
# '', | |
# '- `/help` : to print help messages.', | |
# '- `/assignme` : to assign this issue to you.', | |
# ].join('\n') | |
# }) | |