Skip to content

Commit

Permalink
style(pre-commit): auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Aug 12, 2024
1 parent fbdf5fc commit ad14d89
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/docs-localization-download.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ jobs:
sphinx-build -b gettext . ./build/locales
working-directory: ./docs
- name: "Build locales"
run: sphinx-intl update -p ./build/locales -l de -l ja -l de -l ja -l fr -l it -l hi -l ko -l pt_BR -l es -l zh_CN
run:
sphinx-intl update -p ./build/locales -l de -l ja -l de -l ja -l fr -l it -l
hi -l ko -l pt_BR -l es -l zh_CN
working-directory: ./docs
- name: "Crowdin"
uses: crowdin/github-action@v2
Expand All @@ -39,7 +41,9 @@ jobs:
localization_branch_name: l10n_master
create_pull_request: true
pull_request_title: "docs: Update localizations from Crowdin"
pull_request_body: "Crowdin download was triggered due to completely translated file or project. Starting sync. CC @Lulalaby"
pull_request_body:
"Crowdin download was triggered due to completely translated file or
project. Starting sync. CC @Lulalaby"
pull_request_base_branch_name: "master"
pull_request_reviewers: "Lulalaby"
config: "crowdin.yml"
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/docs-localization-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ jobs:
permissions: write-all
name: "Localisize Docs"
runs-on: ubuntu-latest
if: contains(github.event.head_commit.message, '!crowdin upload') || github.event_name == 'workflow_dispatch'
if:
contains(github.event.head_commit.message, '!crowdin upload') || github.event_name
== 'workflow_dispatch'
steps:
- uses: actions/checkout@v4
- name: "Install Python"
Expand All @@ -31,7 +33,9 @@ jobs:
sphinx-build -b gettext . ./build/locales
working-directory: ./docs
- name: "Build locales"
run: sphinx-intl update -p ./build/locales -l de -l ja -l de -l ja -l fr -l it -l hi -l ko -l pt_BR -l es -l zh_CN
run:
sphinx-intl update -p ./build/locales -l de -l ja -l de -l ja -l fr -l it -l
hi -l ko -l pt_BR -l es -l zh_CN
working-directory: ./docs
- name: "Crowdin"
uses: crowdin/github-action@v2
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/version-updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ permissions:
jobs:
auto-merge:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' || github.actor == 'crowdin-bot' || github.actor == 'Crowdin Bot' }}
if:
${{ github.actor == 'dependabot[bot]' || github.actor == 'crowdin-bot' ||
github.actor == 'Crowdin Bot' }}
steps:
- run: gh pr review --approve "$PR_URL"
env:
Expand Down

0 comments on commit ad14d89

Please sign in to comment.