chore(deps): bump katex and vuepress-plugin-md-enhance #108
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
# Copyright © 2023 KubeCub & Xinwei Xiong(cubxxw). All rights reserved. | |
# | |
# Licensed under the MIT License (the "License"); | |
# you may not use this file except in compliance with the License. | |
# .github/workflows/gpt-translate.yml | |
name: GPT Translate | |
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: 3ru/[email protected] | |
with: | |
apikey: ${{ secrets.OPENAI_API_KEY }} | |
token: "${{ secrets.BOT_GITHUB_TOKEN }}" |