Ditch async_trait
in favor of the official async_fn_in_trait
feature
#1155
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: | |
issue_comment: | |
types: | |
- created | |
jobs: | |
assignme: | |
name: /assignme | |
runs-on: ubuntu-latest | |
if: startsWith(github.event.comment.body, '/assignme') | |
steps: | |
- uses: xt0rted/slash-command-action@v1 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
command: assignme | |
reaction: "true" | |
reaction-type: "rocket" | |
permission-level: read | |
- uses: actions-ecosystem/action-add-assignees@v1 | |
with: | |
github_token: ${{ secrets.github_token }} | |
assignees: ${{ github.actor }} | |
help: | |
name: /help | |
runs-on: ubuntu-latest | |
if: startsWith(github.event.comment.body, '/help') | |
steps: | |
- uses: xt0rted/slash-command-action@v1 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
command: help | |
reaction: "true" | |
reaction-type: "rocket" | |
- uses: peter-evans/create-or-update-comment@v1 | |
with: | |
issue-number: ${{ github.event.issue.number }} | |
body: | | |
Get help or engage by: | |
- `/help` : to print help messages. | |
- `/assignme` : to assign this issue to you. |