[MWP-380] update badges #57
Workflow file for this run
This file contains 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: "Auto translation with the action" | |
on: | |
push: | |
branches-ignore: | |
- 'release-**' | |
jobs: | |
update_translation: | |
name: "Update plugin translation" | |
runs-on: "ubuntu-latest" | |
steps: | |
- name: "Translation" | |
id: translation | |
uses: PrintMakerLab/cura-plugin-translation@v2 | |
with: | |
translation_folder: 'i18n' | |
translation_name: 'mksplugin' | |
plugin_name: 'MKS WiFi Plugin' | |
- if: ${{ steps.translation.outputs.template_updated || steps.translation.outputs.locales_updated }} | |
name: Create Pull Request | |
uses: peter-evans/create-pull-request@v4 | |
with: | |
branch: ${{github.ref_name}}-translation | |
delete-branch: true | |
title: '[CI] Translation update' | |
body: 'Translation was automatically updated' | |
commit-message: '[CI] Translation update' | |
labels: 'type: translation' | |
team-reviewers: owners |