Skip to content
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

fix: TRANSIFEX_API_TOKEN name corrected #6252

Merged
merged 1 commit into from
Jun 7, 2024
Merged

Conversation

OmarIthawi
Copy link
Member

@OmarIthawi OmarIthawi commented Jun 7, 2024

Fix error in environment variable name that breaks the CI builds on GitHub Actions.

Fixes

Error in CI builds: https://github.com/openedx/openedx-translations/actions/runs/9410676907/job/25922716879

Notice:  A new release of pip is available: 23.0.1 -> 24.0
Notice:  To update, run: pip install --upgrade pip
Traceback (most recent call last):
  File "./scripts/release_project_sync.py", line 292, in <module>
    main()  # pragma: no cover
  File "./scripts/release_project_sync.py", line 288, in main
    command.run()
  File "./scripts/release_project_sync.py", line 227, in run
    main_project = self.get_transifex_project(project_slug=MAIN_PROJECT_SLUG)
  File "./scripts/release_project_sync.py", line 61, in get_transifex_project
    tx_api_token = config['https://www.transifex.com']['password']
  File "/opt/hostedtoolcache/Python/3.8.[18](https://github.com/openedx/openedx-translations/actions/runs/9410676907/job/25922716879#step:4:19)/x64/lib/python3.8/configparser.py", line 960, in __getitem__
    raise KeyError(key)
KeyError: 'https://www.transifex.com'
Error: Process completed with exit code 1.

@openedx-webhooks openedx-webhooks added the open-source-contribution PR author is not from Axim or 2U label Jun 7, 2024
@openedx-webhooks
Copy link

openedx-webhooks commented Jun 7, 2024

Thanks for the pull request, @OmarIthawi! Please note that it may take us up to several weeks or months to complete a review and merge your PR.

Feel free to add as much of the following information to the ticket as you can:

  • supporting documentation
  • Open edX discussion forum threads
  • timeline information ("this must be merged by XX date", and why that is)
  • partner information ("this is a course on edx.org")
  • any other information that can help Product understand the context for the PR

All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here.

Please let us know once your PR is ready for our review and all tests are green.

Copy link

github-actions bot commented Jun 7, 2024

✅ All translation files are valid.

This comment has been posted by the validate-translation-files.yml GitHub Actions workflow.

@OmarIthawi OmarIthawi marked this pull request as ready for review June 7, 2024 02:26
@brian-smith-tcril brian-smith-tcril merged commit 517b613 into main Jun 7, 2024
5 checks passed
@brian-smith-tcril brian-smith-tcril deleted the release_cut branch June 7, 2024 13:48
@openedx-webhooks
Copy link

@OmarIthawi 🎉 Your pull request was merged! Please take a moment to answer a two question survey so we can improve your experience in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
open-source-contribution PR author is not from Axim or 2U
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants