-
-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #380 from niccokunzmann/update-translations
Update translations
- Loading branch information
Showing
5 changed files
with
222 additions
and
24 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# SPDX-FileCopyrightText: 2024 Nicco Kunzmann and Open Web Calendar Contributors <https://open-web-calendar.quelltext.eu/> | ||
# | ||
# SPDX-License-Identifier: GPL-2.0-only | ||
# The purpose of this file is to keep this repository and its dependencies | ||
# up-to-date. | ||
name: "Update Repository" | ||
|
||
on: [push] | ||
|
||
# cancel builds in progress if a new push has been made to the same ref | ||
# see https://stackoverflow.com/a/70972844/1320237 | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
update-translation-po-files: | ||
name: Update Translation PO Files | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.11 | ||
- name: Install tox | ||
run: pip install tox | ||
- name: Build the documentation | ||
run: tox -e docs -- build | ||
- name: Check status | ||
run: git status | ||
- name: Push updates translation files | ||
run: | | ||
git config --global user.name 'OWC Github Actions' | ||
git config --global user.email '[email protected]' | ||
git add translations | ||
if git commit -m "Update translation files"; then | ||
git push | ||
fi |
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
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
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