From 92d729ae0f900984125154753c1709233384a8b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B1=85=E6=88=8E=E6=B0=8F?= Date: Fri, 27 Jan 2023 00:57:36 +0800 Subject: [PATCH] ci: run commit-ci only when pushing to branches --- .github/workflows/commit-ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/commit-ci.yml b/.github/workflows/commit-ci.yml index 4cb1b2a9b..ff3bb98bd 100644 --- a/.github/workflows/commit-ci.yml +++ b/.github/workflows/commit-ci.yml @@ -1,5 +1,8 @@ name: commit ci -on: [push] +on: + push: + branches: + - '*' jobs: build: runs-on: macos-latest