From 665d4649061a268d13c31aaf2c33e33216700d6f Mon Sep 17 00:00:00 2001 From: shortcuts Date: Wed, 25 Sep 2024 17:32:49 +0200 Subject: [PATCH] chore: review --- .eslintrc.cjs | 8 ++++++++ .github/workflows/push-to-algolia-doc.yml | 10 +++------- .github/workflows/renovate.yml | 4 ---- .github/workflows/scheduled-release.yml | 4 ---- 4 files changed, 11 insertions(+), 15 deletions(-) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 95dc953d7a..591c686364 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -71,6 +71,14 @@ module.exports = { }, ], }, + { + // actions yml linter + files: ['.github/**/*.yml'], + + rules: { + 'yml/no-empty-mapping-value': 0, + }, + }, { // es linter files: ['*.ts', '*.js'], diff --git a/.github/workflows/push-to-algolia-doc.yml b/.github/workflows/push-to-algolia-doc.yml index 7cd69c0945..a80b74152f 100644 --- a/.github/workflows/push-to-algolia-doc.yml +++ b/.github/workflows/push-to-algolia-doc.yml @@ -1,11 +1,6 @@ name: Push specs and snippets to Algolia doc -on: - workflow_dispatch: - inputs: - fake_input: - description: input needed to satisfy the yaml linter - required: false +on: workflow_dispatch jobs: release: @@ -23,6 +18,7 @@ jobs: with: type: minimal - - run: FORCE=true yarn workspace scripts pushToAlgoliaDoc + - run: yarn workspace scripts pushToAlgoliaDoc env: GITHUB_TOKEN: ${{ secrets.ALGOLIA_BOT_TOKEN }} + FORCE: true diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml index 28e989be92..88c8343f74 100644 --- a/.github/workflows/renovate.yml +++ b/.github/workflows/renovate.yml @@ -4,10 +4,6 @@ on: schedule: - cron: '0 14 * * 5' # At 14:00 on Friday. workflow_dispatch: - inputs: - fake_input: - description: input needed to satisfy the yaml linter - required: false jobs: renovate: diff --git a/.github/workflows/scheduled-release.yml b/.github/workflows/scheduled-release.yml index 6a54c2e4e9..5c9019d607 100644 --- a/.github/workflows/scheduled-release.yml +++ b/.github/workflows/scheduled-release.yml @@ -4,10 +4,6 @@ on: schedule: - cron: '30 6 * * 2' workflow_dispatch: - inputs: - fake_input: - description: input needed to satisfy the yaml linter - required: false jobs: release: