diff --git a/.github/workflows/auto_translate.yml b/.github/workflows/auto_translate.yml deleted file mode 100644 index 409a93e..0000000 --- a/.github/workflows/auto_translate.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: Auto translate -on: - workflow_dispatch: - -jobs: - autotranslate: - env: - API_KEY: ${{secrets.DL_API_KEY}} - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - with: - ref: dev - fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository. - - name: Setup Python - uses: actions/setup-python@v4 - with: - python-version: 3.8 - - name: Install Translate Tools - run: | - python -m pip install ovos-translate-plugin-deepl ovos-utils - - name: Auto Translate - run: | - python scripts/translate.py - - name: Commit to dev - uses: stefanzweifel/git-auto-commit-action@v4 - with: - commit_message: autotranslate - branch: dev diff --git a/.github/workflows/propose_translation.yml b/.github/workflows/propose_translation.yml deleted file mode 100644 index cb03a37..0000000 --- a/.github/workflows/propose_translation.yml +++ /dev/null @@ -1,55 +0,0 @@ -name: Propose Translation -on: - workflow_dispatch: - inputs: - language: - type: choice - description: Language to translate - options: - - de-de - - ca-es - - es-es - - cs-cz - - fr-fr - - it-it - - da-dk - - nl-nl - - hu-hu - - pl-pl - - pt-pt - - ru-ru - - sv-fi - - sv-se - - tr-tr - -jobs: - Propose_translation: - env: - TARGET_LANG: ${{ inputs.language }} - API_KEY: ${{ secrets.DL_API_KEY }} - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - with: - ref: ${{ github.ref_name }} - fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository. - - name: Setup Python - uses: actions/setup-python@v4 - with: - python-version: 3.8 - - name: Install Translate Tools - run: | - python -m pip install ovos-translate-plugin-deepl ovos-utils - - name: Run Translate Script - run: python scripts/translate.py - - name: Create Pull Request - uses: peter-evans/create-pull-request@v5 - with: - token: ${{ secrets.GITHUB_TOKEN }} - commit-message: autotranslate - author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> - title: Proposed ${{ inputs.language }} Translations - body: Translations for review - labels: translation - branch: staging/translation_${{ inputs.language }} - reviewers: emphasize diff --git a/.github/workflows/publish_build.yml b/.github/workflows/publish_build.yml index 65e168b..73ae009 100644 --- a/.github/workflows/publish_build.yml +++ b/.github/workflows/publish_build.yml @@ -26,10 +26,6 @@ run: | VER=$(python setup.py --version) python scripts/remove_alpha.py - - name: Prepare Skillstore metadata - run: | - python scripts/prepare_skillstore.py - python scripts/release_skillstore.py - name: "Generate release changelog" uses: heinrichreimer/github-changelog-generator-action@v2.3 with: @@ -80,4 +76,4 @@ - name: Publish to Test PyPI uses: pypa/gh-action-pypi-publish@master with: - password: ${{secrets.PYPI_TOKEN}} \ No newline at end of file + password: ${{secrets.PYPI_TOKEN}} diff --git a/.github/workflows/publish_major.yml b/.github/workflows/publish_major.yml index 09121b4..367f31b 100644 --- a/.github/workflows/publish_major.yml +++ b/.github/workflows/publish_major.yml @@ -26,10 +26,6 @@ run: | VER=$(python setup.py --version) python scripts/remove_alpha.py - - name: Prepare Skillstore metadata - run: | - python scripts/prepare_skillstore.py - python scripts/release_skillstore.py - name: "Generate release changelog" uses: heinrichreimer/github-changelog-generator-action@v2.3 with: @@ -80,4 +76,4 @@ - name: Publish to Test PyPI uses: pypa/gh-action-pypi-publish@master with: - password: ${{secrets.PYPI_TOKEN}} \ No newline at end of file + password: ${{secrets.PYPI_TOKEN}} diff --git a/.github/workflows/publish_minor.yml b/.github/workflows/publish_minor.yml index fe98511..788e840 100644 --- a/.github/workflows/publish_minor.yml +++ b/.github/workflows/publish_minor.yml @@ -26,10 +26,6 @@ run: | VER=$(python setup.py --version) python scripts/remove_alpha.py - - name: Prepare Skillstore metadata - run: | - python scripts/prepare_skillstore.py - python scripts/release_skillstore.py - name: "Generate release changelog" uses: heinrichreimer/github-changelog-generator-action@v2.3 with: @@ -80,4 +76,4 @@ - name: Publish to Test PyPI uses: pypa/gh-action-pypi-publish@master with: - password: ${{secrets.PYPI_TOKEN}} \ No newline at end of file + password: ${{secrets.PYPI_TOKEN}}