From f62355f4d2e57dc303ee34af177205647117441f Mon Sep 17 00:00:00 2001 From: Ce Gao Date: Wed, 1 Jun 2022 16:01:22 +0800 Subject: [PATCH] fix(workflow): Request CI build only when review is required (#227) Signed-off-by: Ce Gao --- .github/workflows/CI.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 846295565..ba0aa3efd 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -4,7 +4,18 @@ on: push: branches: - main + paths: + - '.github/workflows/**' + - 'cmd/**' + - 'pkg/**' + - 'Makefile' pull_request: + types: [review_requested, ready_for_review] + paths: + - '.github/workflows/**' + - 'cmd/**' + - 'pkg/**' + - 'Makefile' branches: - main