From aca5c62c9985d07a33d906ad8a4c3d1c0f545a29 Mon Sep 17 00:00:00 2001 From: Jaco Date: Wed, 2 Aug 2023 10:13:14 +0300 Subject: [PATCH] Adjust chain workflow steps (#9753) --- .github/chain-types.md | 10 ---------- .github/workflows/chain-endpoints.yml | 5 ++++- .github/workflows/chain-types.yml | 28 --------------------------- 3 files changed, 4 insertions(+), 39 deletions(-) delete mode 100644 .github/chain-types.md delete mode 100644 .github/workflows/chain-types.yml diff --git a/.github/chain-types.md b/.github/chain-types.md deleted file mode 100644 index 4774398317..0000000000 --- a/.github/chain-types.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: Outdated chain types -labels: ['ci'] ---- - -cc @polkadot-js/notifications - -Some configured chains have outdated types and is determined to problematic as an available chain. - -Check the nightly cron output (or via `yarn ci:chainTypes` locally) and disable the chains (either with `isDisabled` or `isUnreachable`) until the issue is resolved. The output as found from the test includes: diff --git a/.github/workflows/chain-endpoints.yml b/.github/workflows/chain-endpoints.yml index f262dd8d20..bfbfa93167 100644 --- a/.github/workflows/chain-endpoints.yml +++ b/.github/workflows/chain-endpoints.yml @@ -1,7 +1,10 @@ name: Chain endpoints on: schedule: - - cron: '50 0/12 * * *' + # twice daily (mornings/afternoons, the latter being busy) + # - cron: '50 0/12 * * *' + # once daily (early mornings, 02:50 GMT, generally not busy) + - cron: '50 2 * * *' jobs: endpoints: diff --git a/.github/workflows/chain-types.yml b/.github/workflows/chain-types.yml deleted file mode 100644 index 6d566ebc35..0000000000 --- a/.github/workflows/chain-types.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: Chain types -on: - schedule: - - cron: '30 0/12 * * *' - -jobs: - types: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 - with: - node-version: 'lts/*' - - name: check - env: - CI_LOG: 123 - run: | - yarn install --immutable - yarn ci:chainTypes - - - name: issue - if: ${{ failure() }} - uses: JasonEtco/create-an-issue@e27dddc79c92bc6e4562f268fffa5ed752639abd - env: - GITHUB_TOKEN: ${{ secrets.GH_PAT_BOT }} - with: - filename: .github/chain-types.md - update_existing: true