Update Language Translations #53
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: Update Language Translations | |
| on: | |
| schedule: | |
| - cron: '0 14 * * 1' | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| container: obolibrary/odkfull:v1.6 | |
| steps: | |
| - name: Checkout main branch | |
| uses: actions/checkout@v4 | |
| - name: Update Translations | |
| run: cd src/ontology; make GITHUB_ACTION=true IMP=false PAT=false update-mondo-japanese-translation -B | |
| - name: QC | |
| run: cd src/ontology; make GITHUB_ACTION=true IMP=false PAT=false validate-translations | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@v5 | |
| with: | |
| branch-suffix: short-commit-hash | |
| labels: automated | |
| body: "Update Language Translations. PR automatically created by GH Action. No review necessary - QC has run." | |
| title: "Update Language Translations (no review necessary)" | |
| base: ${{ github.head_ref }} | |
| branch: "language_translations" | |
| token: ${{ secrets.GH_TOKEN }} | |
| reviewers: "sabrinatoro" |