Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
WeeJeWel committed Aug 1, 2024
1 parent 6d4ec72 commit 8025025
Showing 1 changed file with 27 additions and 4 deletions.
31 changes: 27 additions & 4 deletions .github/workflows/homey-app-translate.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,31 @@
name: Translate Homey App

on:
workflow_dispatch:

jobs:
main:
uses: athombv/athom-github-workflow/.github/workflows/homey-app-translate.yml@master
secrets: inherit
jobs:
main:
name: Translate App
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Translate Homey App
uses: athombv/github-action-homey-app-translate@master
with:
openai_api_key: ${{ secrets.OPENAI_API_KEY }}

- name: Commit, Push & Create Pull Request
env:
GH_TOKEN: ${{ github.token }}
run: |
git config --local user.email "[email protected]"
git config --local user.name "Homey Github Actions Bot"
git checkout -b feature/openai-translations
git add -A
git commit -m "Automatic translations with OpenAI"
git push --set-upstream origin feature/openai-translations
gh pr create --fill

0 comments on commit 8025025

Please sign in to comment.