From eaa6c1191388aca5cdff405ad7abc5aad73e88d0 Mon Sep 17 00:00:00 2001 From: Jaco Date: Wed, 15 Feb 2023 14:34:53 +0200 Subject: [PATCH] Disable unreachable endpoints (#9028) * Disable unreachable endpoints * Re-fix GH workflow padding --- .github/workflows/push-master.yml | 62 +++++++++---------- .../src/endpoints/testingRelayRococo.ts | 2 +- 2 files changed, 32 insertions(+), 32 deletions(-) diff --git a/.github/workflows/push-master.yml b/.github/workflows/push-master.yml index 11c29735d0..6326bda31f 100644 --- a/.github/workflows/push-master.yml +++ b/.github/workflows/push-master.yml @@ -61,37 +61,37 @@ jobs: runs-on: ${{ matrix.os }} name: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v3 + with: + token: ${{ secrets.GH_PAT_BOT }} - uses: actions/setup-node@v3 with: node-version: 'lts/*' - with: - token: ${{ secrets.GH_PAT_BOT }} - - name: Prepare for app notarization (macOS) - if: startsWith(matrix.os, 'macos') - # Import Apple API key for app notarization on macOS - run: | - mkdir -p ~/private_keys/ - echo '${{ secrets.API_KEY }}' > ~/private_keys/AuthKey_${{ secrets.API_KEY_ID }}.p8 - - name: Build/release Electron app - uses: samuelmeuli/action-electron-builder@v1 - with: - # Base64-encoded code signing certificate for macOS - mac_certs: ${{ secrets.MAC_CERTS }} - # Password for decrypting `mac_certs` - mac_certs_password: ${{ secrets.MAC_CERTS_PASSWORD }} - # Base64-encoded code signing certificate for Windows - windows_certs: ${{ secrets.WINDOWS_CERTS }} - # Password for decrypting `windows_certs` - windows_certs_password: ${{ secrets.WINDOWS_CERTS_PASSWORD }} - # GitHub token, automatically provided to the action - # (No need to define this secret in the repo settings) - github_token: ${{ secrets.GITHUB_TOKEN }} - build_script_name: build:release:electron - # If the commit is tagged with a version (e.g. "v1.0.0"), - # release the app after building - release: ${{ startsWith(github.ref, 'refs/tags/v') }} - env: - # macOS notarization API key - API_KEY_ID: ${{ secrets.API_KEY_ID }} - API_KEY_ISSUER_ID: ${{ secrets.API_KEY_ISSUER_ID }} + - name: Prepare for app notarization (macOS) + if: startsWith(matrix.os, 'macos') + # Import Apple API key for app notarization on macOS + run: | + mkdir -p ~/private_keys/ + echo '${{ secrets.API_KEY }}' > ~/private_keys/AuthKey_${{ secrets.API_KEY_ID }}.p8 + - name: Build/release Electron app + uses: samuelmeuli/action-electron-builder@v1 + with: + # Base64-encoded code signing certificate for macOS + mac_certs: ${{ secrets.MAC_CERTS }} + # Password for decrypting `mac_certs` + mac_certs_password: ${{ secrets.MAC_CERTS_PASSWORD }} + # Base64-encoded code signing certificate for Windows + windows_certs: ${{ secrets.WINDOWS_CERTS }} + # Password for decrypting `windows_certs` + windows_certs_password: ${{ secrets.WINDOWS_CERTS_PASSWORD }} + # GitHub token, automatically provided to the action + # (No need to define this secret in the repo settings) + github_token: ${{ secrets.GITHUB_TOKEN }} + build_script_name: build:release:electron + # If the commit is tagged with a version (e.g. "v1.0.0"), + # release the app after building + release: ${{ startsWith(github.ref, 'refs/tags/v') }} + env: + # macOS notarization API key + API_KEY_ID: ${{ secrets.API_KEY_ID }} + API_KEY_ISSUER_ID: ${{ secrets.API_KEY_ISSUER_ID }} diff --git a/packages/apps-config/src/endpoints/testingRelayRococo.ts b/packages/apps-config/src/endpoints/testingRelayRococo.ts index 9d2aa53cee..103781aa12 100644 --- a/packages/apps-config/src/endpoints/testingRelayRococo.ts +++ b/packages/apps-config/src/endpoints/testingRelayRococo.ts @@ -135,7 +135,7 @@ export const testParasRococo: EndpointOption[] = [ info: 'rococoCrust', paraId: 2012, providers: { - Crust: 'wss://rococo-csm.crustcode.com/' + // Crust: 'wss://rococo-csm.crustcode.com/' // https://github.com/polkadot-js/apps/issues/9025 }, text: 'Crust Testnet', ui: {