New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Testing: Verify that the frontend-lib-special-exams can be added to the openedx-translations #1
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,9 +5,7 @@ | |
name: Extract Translation Source Files | ||
|
||
on: | ||
workflow_dispatch: # by request | ||
schedule: | ||
- cron: '0 0 * * *' # every day at midnight | ||
- pull_request | ||
|
||
jobs: | ||
setup-branch: | ||
|
@@ -40,7 +38,6 @@ jobs: | |
matrix: | ||
repo: | ||
- course-discovery | ||
- credentials | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove most Python repositories to save GitHubActions time. |
||
runs-on: ubuntu-latest | ||
continue-on-error: true | ||
needs: [setup-branch] | ||
|
@@ -129,27 +126,28 @@ jobs: | |
# repos with errors running extract_translations | ||
# * frontend-template-application | ||
repo: | ||
- frontend-app-account | ||
- frontend-app-authn | ||
- frontend-app-communications | ||
- frontend-app-course-authoring | ||
- frontend-app-discussions | ||
- frontend-app-ecommerce | ||
- frontend-app-enterprise-public-catalog | ||
- frontend-app-gradebook | ||
- frontend-app-learner-dashboard | ||
- frontend-app-learner-record | ||
- frontend-app-learning | ||
- frontend-app-library-authoring | ||
- frontend-app-ora-grading | ||
- frontend-app-payment | ||
- frontend-app-profile | ||
- frontend-app-program-console | ||
- frontend-app-support-tools | ||
- frontend-component-footer | ||
- frontend-component-header | ||
- paragon | ||
- studio-frontend | ||
- frontend-lib-special-exams | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The new repository that we're testing the workflow for. |
||
# - frontend-app-account | ||
# - frontend-app-authn | ||
# - frontend-app-communications | ||
# - frontend-app-course-authoring | ||
# - frontend-app-discussions | ||
# - frontend-app-ecommerce | ||
# - frontend-app-enterprise-public-catalog | ||
# - frontend-app-gradebook | ||
# - frontend-app-learner-dashboard | ||
# - frontend-app-learner-record | ||
# - frontend-app-learning | ||
# - frontend-app-library-authoring | ||
# - frontend-app-ora-grading | ||
# - frontend-app-payment | ||
# - frontend-app-profile | ||
# - frontend-app-program-console | ||
# - frontend-app-support-tools | ||
# - frontend-component-footer | ||
# - frontend-component-header | ||
# - paragon | ||
# - studio-frontend | ||
Comment on lines
+130
to
+150
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove most frontend repositories to save GitHubActions time. |
||
runs-on: ubuntu-latest | ||
continue-on-error: true | ||
needs: [setup-branch, python-translations] | ||
|
@@ -164,7 +162,8 @@ jobs: | |
- name: clone openedx/${{ matrix.repo }} | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: openedx/${{ matrix.repo }} | ||
repository: Zeit-Labs/${{ matrix.repo }} | ||
ref: fix-i18n | ||
path: translations/${{ matrix.repo }} | ||
|
||
# Sets up node/npm | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -150,6 +150,13 @@ git: | |
source_file: translations/frontend-component-header/src/i18n/transifex_input.json | ||
translation_files_expression: 'translations/frontend-component-header/src/i18n/messages/<lang>.json' | ||
|
||
# frontend-lib-content-components | ||
- filter_type: file | ||
file_format: KEYVALUEJSON | ||
source_language: en | ||
source_file: translations/frontend-lib-content-components/src/i18n/transifex_input.json | ||
translation_files_expression: 'translations/frontend-lib-content-components/src/i18n/messages/<lang>.json' | ||
Comment on lines
+153
to
+158
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This will not have affect, until it's actually merged in the Transifex project. |
||
|
||
# paragon | ||
- filter_type: file | ||
file_format: KEYVALUEJSON | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To make the workflow run on every commit on this pull request so it's possible to test instantly instead of waiting till the next day.