diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml index e77720256c..b11ed561c4 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yaml +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -1,7 +1,7 @@ name: Bug Report description: File a bug report -title: '[Bug] ' -labels: ['bug'] +title: "[Bug] " +labels: ["bug"] #assignees: body: - type: markdown diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 1604e76f6d..b2657ba525 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -9,4 +9,4 @@ contact_links: https://github.com/Chia-Network/chia-blockchain/discussions/new?category=ideas - about: Get support on the Chia Discord chat channels. name: Join the Discord support chat - url: 'https://discord.gg/chia' + url: "https://discord.gg/chia" diff --git a/.github/dependabot.yml b/.github/dependabot.yml index c4121192d9..1545707285 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -4,28 +4,28 @@ version: 2 updates: # Enable version updates for npm - - package-ecosystem: 'npm' + - package-ecosystem: "npm" # Look for `package.json` and `lock` files in the `root` directory - directory: 'electron-react ' + directory: "electron-react " # Check the npm registry for updates every day (weekdays) schedule: - interval: 'weekly' - day: 'monday' - target-branch: 'dev' + interval: "weekly" + day: "monday" + target-branch: "dev" pull-request-branch-name: # Separate sections of the branch name with a hyphen # for example, `dependabot-npm_and_yarn-next_js-acorn-6.4.1` - separator: '-' + separator: "-" # Maintain dependencies for GitHub Actions - - package-ecosystem: 'github-actions' - directory: '/' + - package-ecosystem: "github-actions" + directory: "/" # Check for updates once a week schedule: - interval: 'weekly' - day: 'monday' - target-branch: 'dev' + interval: "weekly" + day: "monday" + target-branch: "dev" pull-request-branch-name: # Separate sections of the branch name with a hyphen # for example, `dependabot-npm_and_yarn-next_js-acorn-6.4.1` - separator: '-' + separator: "-" diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index 3e3a01f9a9..f699aed8c1 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -3,10 +3,10 @@ name: Check npm audit and locales on: push: branches-ignore: - - 'main' + - "main" pull_request: branches-ignore: - - 'main' + - "main" concurrency: group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}--${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/heads/long_lived/')) && github.sha || '' }} @@ -46,7 +46,7 @@ jobs: - name: Setup Node 18.x uses: actions/setup-node@v3 with: - node-version: '18.x' + node-version: "18.x" - name: Check npm audit on ${{ matrix.os }} shell: bash diff --git a/.github/workflows/code-check.yml b/.github/workflows/code-check.yml index 869510362f..9526936693 100644 --- a/.github/workflows/code-check.yml +++ b/.github/workflows/code-check.yml @@ -3,10 +3,10 @@ on: # We never push directly to 'main', so do not run on it push: branches-ignore: - - 'main' + - "main" pull_request: branches-ignore: - - 'main' + - "main" # Allows you to run this workflow manually from the Actions tab workflow_dispatch: jobs: @@ -17,7 +17,7 @@ jobs: - uses: actions/setup-node@v3 with: # Use node version from '.nvmrc' instead of hardcoding here - node-version-file: '.nvmrc' + node-version-file: ".nvmrc" - name: npm ci run: npm ci - name: npm run build:ci diff --git a/.github/workflows/crowdin-pull.yml b/.github/workflows/crowdin-pull.yml index e1b6c5210f..a8c18bfaa7 100644 --- a/.github/workflows/crowdin-pull.yml +++ b/.github/workflows/crowdin-pull.yml @@ -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: 'automation@chia.net' + github_user_name: "Chia Automation" + github_user_email: "automation@chia.net" 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 }} diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index b7a0ea90d5..3bc3e1a776 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -5,7 +5,7 @@ # # Source repository: https://github.com/actions/dependency-review-action # Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement -name: '🚨 Dependency Review' +name: "🚨 Dependency Review" on: [pull_request] permissions: @@ -15,10 +15,10 @@ jobs: dependency-review: runs-on: ubuntu-latest steps: - - name: 'Checkout Repository' + - name: "Checkout Repository" uses: actions/checkout@v4 - - name: 'Dependency Review' + - name: "Dependency Review" uses: actions/dependency-review-action@v4 with: deny-licenses: AGPL-1.0-only, AGPL-1.0-or-later, AGPL-1.0-or-later, AGPL-3.0-or-later, GPL-1.0-only, GPL-1.0-or-later, GPL-2.0-only, GPL-2.0-or-later, GPL-3.0-only, GPL-3.0-or-later diff --git a/.github/workflows/extract-strings.yml b/.github/workflows/extract-strings.yml index 446dee5065..ffcb55d1bb 100644 --- a/.github/workflows/extract-strings.yml +++ b/.github/workflows/extract-strings.yml @@ -3,7 +3,7 @@ name: Extract Strings for Translation on: push: branches: - - 'main' + - "main" workflow_dispatch: permissions: @@ -28,7 +28,7 @@ jobs: - 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 @@ -45,13 +45,13 @@ jobs: uses: peter-evans/create-pull-request@v5 with: base: main - body: 'Extracted latest strings from source' + body: "Extracted latest strings from source" branch: string-updates - commit-message: 'Extracted latest strings from source' + commit-message: "Extracted latest strings from source" delete-branch: true - reviewers: 'emlowe' - assignees: 'emlowe' - title: 'Latest Strings' - token: '${{ secrets.GITHUB_TOKEN }}' - committer: 'ChiaAutomation ' - author: 'ChiaAutomation ' + reviewers: "emlowe" + assignees: "emlowe" + title: "Latest Strings" + token: "${{ secrets.GITHUB_TOKEN }}" + committer: "ChiaAutomation " + author: "ChiaAutomation " diff --git a/.github/workflows/stale-issue.yml b/.github/workflows/stale-issue.yml index 9979be87ea..8e6149246c 100755 --- a/.github/workflows/stale-issue.yml +++ b/.github/workflows/stale-issue.yml @@ -1,8 +1,8 @@ --- -name: 'Close stale issues' +name: "Close stale issues" on: schedule: - - cron: '0 11 * * *' + - cron: "0 11 * * *" jobs: stale: diff --git a/crowdin.yml b/crowdin.yml index 19745c9f5b..58b35fe991 100644 --- a/crowdin.yml +++ b/crowdin.yml @@ -1,7 +1,7 @@ project_id: 1 api_token_env: CROWDIN_PERSONAL_TOKEN -base_path: '.' -base_url: 'https://chia.crowdin.com' +base_path: "." +base_url: "https://chia.crowdin.com" preserve_hierarchy: true files: - source: /packages/core/src/locales/en-US/*.po