Skip to content

Commit

Permalink
create gpt-translate.yml (#417)
Browse files Browse the repository at this point in the history
  • Loading branch information
thias15 authored Jun 1, 2024
1 parent fbc2550 commit a8568f6
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/gpt-translate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
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/gpt-translate@master
with:
apikey: ${{ secrets.OPENAI_API_KEY }}

0 comments on commit a8568f6

Please sign in to comment.