Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/android-linux-qt6.6.3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
- 'Stable*'
tags:
- 'v*'
paths-ignore:
- 'docs/**' # Do not trigger for any changes under docs
pull_request:
paths:
- '.github/workflows/android-linux-qt6.6.3.yml'
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/android-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
- 'Stable*'
tags:
- 'v*'
paths-ignore:
- 'docs/**' # Do not trigger for any changes under docs
pull_request:
paths:
- '.github/workflows/android-linux.yml'
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/android-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
- 'Stable*'
tags:
- 'v*'
paths-ignore:
- 'docs/**' # Do not trigger for any changes under docs
pull_request:
paths:
- '.github/workflows/android-macos.yml'
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/android-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
- 'Stable*'
tags:
- 'v*'
paths-ignore:
- 'docs/**' # Do not trigger for any changes under docs
pull_request:
paths:
- '.github/workflows/android-windows.yml'
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/crowdin_docs_download.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: Crowdin - Download Guide Translations
# https://github.com/crowdin/github-action/tree/master

on:
schedule:
- cron: '0 0 * * 0' # Runs every Sunday at 00:00 UTC
workflow_dispatch:

permissions:
Expand Down
44 changes: 44 additions & 0 deletions .github/workflows/crowdin_docs_upload.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Crowdin - Upload Guide sources (en)

# https://github.com/crowdin/github-action/tree/master

on:
push:
branches:
- master
paths:
- 'docs/en/**'
pull_request:
types:
- closed
branches:
- master
paths:
- 'docs/en/**'
workflow_dispatch:

jobs:
upload-to-crowdin:
if: github.event.pull_request.merged == true || github.event_name == 'push'
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
- name: crowdin push
uses: crowdin/github-action@v2
with:
config: 'docs/crowdin_docs.yml'
upload_sources: true
upload_translations: false
download_translations: false
crowdin_branch_name: master
env:
# A classic GitHub Personal Access Token with the 'repo' scope selected (the user should have write access to the repository).
GITHUB_TOKEN: ${{ secrets.PX4BUILDBOT_ACCESSTOKEN }}

# A numeric ID, found at https://crowdin.com/project/<projectName>/tools/api
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_DOCS_PROJECT_ID }}

# Visit https://crowdin.com/settings#api-key to create this token
CROWDIN_PERSONAL_TOKEN: ${{ secrets.PX4BUILDBOT_CROWDIN_PERSONAL_TOKEN }}
2 changes: 2 additions & 0 deletions .github/workflows/docker-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
- 'Stable*'
tags:
- 'v*'
paths-ignore:
- 'docs/**' # Do not trigger for any changes under docs
pull_request:
paths:
- '.github/workflows/docker-linux.yml'
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
- 'Stable*'
tags:
- 'v*'
paths-ignore:
- 'docs/**' # Do not trigger for any changes under docs
pull_request:
paths:
- '.github/workflows/linux.yml'
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
- 'Stable*'
tags:
- 'v*'
paths-ignore:
- 'docs/**' # Do not trigger for any changes under docs
pull_request:
paths:
- '.github/workflows/macos.yml'
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
- 'Stable*'
tags:
- 'v*'
paths-ignore:
- 'docs/**' # Do not trigger for any changes under docs
pull_request:
paths:
- '.github/workflows/windows.yml'
Expand Down
Loading