Skip to content

athombv/github-action-homey-app-translate

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Homey App Translate

This GitHub Action will translate the current Homey app using OpenAI.

Inputs

openai_api_key

An OpenAI API Key. You can create an API Key on https://platform.openai.com/api-keys.

Example usage


on:
  workflow_dispatch:

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published