summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorlaixintao <laixintaoo@gmail.com>2023-10-08 08:56:08 +0800
committerGitHub <noreply@github.com>2023-10-07 17:56:08 -0700
commitf157f3f72ee388970861c31557ba624663d1a2c1 (patch)
tree302d2444cfb76967fa2836f74eae6b4a00167623 /.github
parenta8e34be151c8ae1af9672fea5141434113572633 (diff)
runs test on main branch as well. (#1429)
* runs test on main branch as well. reasons: - tests passed on PR branches do not mean they will pass on main branch, for e.g. alice changed A in branch-a, bob changed B in branch-b, both tests passed and no conflict, but after merged to main, a bug occurs. - wanna fix the badge in main branch ;D * change the badge status to main branch only.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index be99c1ad..8ac19111 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -1,6 +1,9 @@
name: pgcli
on:
+ push:
+ branches:
+ - main
pull_request:
paths-ignore:
- '**.rst'