From 09a4498caf347e450a323b2ccae40697397dd989 Mon Sep 17 00:00:00 2001 From: Kenichi Kamiya Date: Mon, 20 May 2024 11:21:10 +0900 Subject: [PATCH] Ignore missing lint workflow run except PR and push --- .github/workflows/itself.yml | 3 ++- .github/workflows/lint.yml | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/itself.yml b/.github/workflows/itself.yml index e2b0aefb..36633dd1 100644 --- a/.github/workflows/itself.yml +++ b/.github/workflows/itself.yml @@ -119,7 +119,8 @@ jobs: wait-list: | [ { - "workflowFile": "lint.yml" + "workflowFile": "lint.yml", + "optional": ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }} }, { "workflowFile": "merge-bot-pr.yml", diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 0a5b0bb3..305d3415 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -4,11 +4,9 @@ on: branches: [main] paths-ignore: - 'dist/**' - - 'pnpm-lock.yaml' pull_request: paths-ignore: - 'dist/**' - - 'pnpm-lock.yaml' workflow_dispatch: jobs: