Skip to content

Commit

Permalink
fix: only include aspects changes in translation workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian2012 committed Oct 10, 2023
1 parent 5cc6249 commit 20e1f74
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/compile-translations.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
name: Pull Translations
name: Compile Translations
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 1' # On Mondays
push:
branches:
- cag/fix-transifex-workflow

env:
TUTOR_ROOT: ./.ci/
TRANSIFEX_TOKEN: ${{ secrets.EDUNEXT_ASPECTS_ASSET_TRANSIFEX_TOKEN }}
TRANSIFEX_SECRET: ${{ secrets.EDUNEXT_ASPECTS_ASSET_TRANSIFEX_SECRET }}

jobs:
push_translations:
compile_translations:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down Expand Up @@ -44,8 +47,10 @@ jobs:
title: "chore(i18n): updating translations"
commit-message: "chore(i18n): updating translations on ${{ steps.date.outputs.date }}"
branch: "bot/translations/${{ steps.date.outputs.date }}"
add-paths: |
tutoraspects/
base: main
body: |
Automated update of translations for assets on ${{ steps.date.outputs.date }}.
This pull request was automatically generated.

0 comments on commit 20e1f74

Please sign in to comment.