-
Notifications
You must be signed in to change notification settings - Fork 248
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into managed-files
- Loading branch information
Showing
355 changed files
with
19,014 additions
and
18,749 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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
* @Chia-Network/required-reviewers | ||
/.github/* @Chia-Network/actions-reviewers |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,11 +4,11 @@ on: | |
workflow_dispatch: | ||
inputs: | ||
pr_target: | ||
description: 'PR Target Branch for Updated Translations' | ||
description: "PR Target Branch for Updated Translations" | ||
type: string | ||
default: 'main' | ||
default: "main" | ||
schedule: | ||
- cron: '0 0 * * 0' | ||
- cron: "0 0 * * 0" | ||
|
||
permissions: | ||
id-token: write | ||
|
@@ -32,7 +32,7 @@ jobs: | |
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: '${{ inputs.pr_target || github.ref_name }}' | ||
ref: "${{ inputs.pr_target || github.ref_name }}" | ||
|
||
- name: Vault Login | ||
uses: Chia-Network/actions/vault/login@main | ||
|
@@ -64,14 +64,14 @@ jobs: | |
crowdin_branch_name: main | ||
localization_branch_name: ${{ env.localization_branch_name }} | ||
create_pull_request: true | ||
pull_request_title: 'New Crowdin Translations' | ||
pull_request_body: 'New Crowdin translations by [Crowdin GH Action](https://github.com/crowdin/github-action)' | ||
pull_request_title: "New Crowdin Translations" | ||
pull_request_body: "New Crowdin translations by [Crowdin GH Action](https://github.com/crowdin/github-action)" | ||
pull_request_base_branch_name: "${{ inputs.pr_target || 'main' }}" | ||
github_user_name: 'Chia Automation' | ||
github_user_email: '[email protected]' | ||
github_user_name: "Chia Automation" | ||
github_user_email: "[email protected]" | ||
gpg_private_key: ${{ secrets.CHIA_AUTOMATION_PRIVATE_GPG_KEY_RSA }} | ||
gpg_passphrase: ${{ secrets.CHIA_AUTOMATION_PRIVATE_GPG_PASSPHRASE }} | ||
skip_ref_checkout: 'true' | ||
skip_ref_checkout: "true" | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
|
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ name: Extract Strings for Translation | |
on: | ||
push: | ||
branches: | ||
- 'main' | ||
- "main" | ||
workflow_dispatch: | ||
|
||
permissions: | ||
|
@@ -24,11 +24,12 @@ jobs: | |
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
token: ${{ secrets.REPO_COMMIT }} | ||
|
||
- name: Setup Node 18.x | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '18.x' | ||
node-version: "18.x" | ||
|
||
- name: Set up commit signing | ||
uses: Chia-Network/actions/commit-sign/gpg@main | ||
|
@@ -41,17 +42,9 @@ jobs: | |
npm install | ||
npm run locale:extract | ||
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@v5 | ||
with: | ||
base: main | ||
body: 'Extracted latest strings from source' | ||
branch: string-updates | ||
commit-message: 'Extracted latest strings from source' | ||
delete-branch: true | ||
reviewers: 'emlowe' | ||
assignees: 'emlowe' | ||
title: 'Latest Strings' | ||
token: '${{ secrets.GITHUB_TOKEN }}' | ||
committer: 'ChiaAutomation <[email protected]>' | ||
author: 'ChiaAutomation <[email protected]>' | ||
- name: Commit changes back to the repo | ||
continue-on-error: true | ||
run: | | ||
git add '**/messages.po' | ||
git commit -m "Extract latest strings for translation" | ||
git push origin main |
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 |
---|---|---|
@@ -1,4 +1,15 @@ | ||
{ | ||
"printWidth": 120, | ||
"singleQuote": true | ||
"singleQuote": true, | ||
"overrides": [ | ||
{ | ||
"files": ["*.yaml", "*.yml", "*.toml", "*.json", "*.ini"], | ||
"options": { | ||
"tabWidth": 2, | ||
"singleQuote": false, | ||
"experimentalTernaries": true, | ||
"useTabs": false | ||
} | ||
} | ||
] | ||
} |
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
Oops, something went wrong.