From 7d48d32c7b272c48f1ce76dc3dc7f6ebf09468b4 Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Sun, 14 Apr 2024 04:16:15 +0800 Subject: [PATCH] ci: avoid duplicate builds for PR commits --- .github/workflows/ci.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c7b1f5a..e1d4670 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,9 +1,8 @@ name: "CI" on: push: - branches-ignore: - - "production" - - "docs" + branches: + - "master" paths-ignore: - ".github/**" - "!.github/workflows/ci.yml" @@ -12,8 +11,6 @@ on: - "README.md" - "LICENSE" pull_request: - paths: - - "**" jobs: build: