-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
10 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,8 +21,17 @@ jobs: | |
- app_name: web | ||
crowdin_project_id: "308189" | ||
steps: | ||
- name: Generate GH App token | ||
uses: actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0 | ||
id: app-token | ||
with: | ||
app-id: ${{ secrets.BW_GHAPP_ID }} | ||
private-key: ${{ secrets.BW_GHAPP_KEY }} | ||
|
||
- name: Checkout repo | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
with: | ||
token: ${{ steps.app-token.outputs.token }} | ||
|
||
- name: Login to Azure | ||
uses: Azure/login@e15b166166a8746d1a47596803bd8c1b595455cf # v1.6.0 | ||
|
@@ -35,13 +44,6 @@ jobs: | |
with: | ||
keyvault: "bitwarden-ci" | ||
secrets: "crowdin-api-token, github-gpg-private-key, github-gpg-private-key-passphrase" | ||
|
||
- name: Generate GH App token | ||
uses: actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0 | ||
id: app-token | ||
with: | ||
app-id: ${{ secrets.BW_GHAPP_ID }} | ||
private-key: ${{ secrets.BW_GHAPP_KEY }} | ||
|
||
- name: Download translations | ||
uses: bitwarden/gh-actions/crowdin@main | ||
|
@@ -58,7 +60,7 @@ jobs: | |
github_user_name: "bitwarden-devops-bot" | ||
github_user_email: "[email protected]" | ||
commit_message: "Autosync the updated translations" | ||
localization_branch_name: crowdin-auto-sync-${{ matrix.app_name }} | ||
localization_branch_name: crowdin-auto-sync-${{ matrix.app_name }}-vgrassia | ||
create_pull_request: true | ||
pull_request_title: "Autosync Crowdin Translations for ${{ matrix.app_name }}" | ||
pull_request_body: "Autosync the updated translations" | ||
|