Refactor: delete async-trait, fix typo, use tokio to replace async_std #249
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: GPT refine markdown | |
on: | |
issue_comment: | |
types: [ created ] | |
jobs: | |
gpt_translate: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run GPT Translate | |
if: | | |
contains(github.event.comment.body, '/gpt-translate') || | |
contains(github.event.comment.body, '/gt') | |
uses: drmingdrmer/gpt-refine-md@master | |
with: | |
apikey: ${{ secrets.OPENAI_API_KEY }} |