When tabby is running, unstaged git changes are randomly reverted/dismissed #500
This file contains hidden or 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 Translate | |
| on: | |
| issue_comment: | |
| types: [ created ] | |
| permissions: | |
| pull-requests: write | |
| issues: write | |
| contents: write | |
| jobs: | |
| gpt_translate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - 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 }} |