summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorguozhanxin <[email protected]>2022-01-20 15:25:40 +0800
committerBernard Xiong <[email protected]>2022-01-20 20:51:30 +0800
commit4dab5e0e59680ca77c5c3beab0d08ac15d1a1af9 (patch)
tree6cc2eed22cf6f0e005b1f9d09e6538df20757768 /.github
parent5820cc27b8b106ac79f0a7cfbe2d0763a97b0bdf (diff)
[ci] Optimize AutoTestCI trigger timing.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/action_utest.yml20
1 files changed, 19 insertions, 1 deletions
diff --git a/.github/workflows/action_utest.yml b/.github/workflows/action_utest.yml
index b83fd21bdd..cb7707059b 100644
--- a/.github/workflows/action_utest.yml
+++ b/.github/workflows/action_utest.yml
@@ -1,7 +1,25 @@
name: AutoTestCI
# Controls when the action will run. Triggers the workflow on push or pull request
-on: [push, pull_request]
+# events but only for the master branch
+on:
+ # Runs at 16:00 UTC (BeiJing 00:00) on the 1st of every month
+ schedule:
+ - cron: '0 16 1 * *'
+ push:
+ branches:
+ - master
+ paths-ignore:
+ - documentation/**
+ - '**/README.md'
+ - '**/README_zh.md'
+ pull_request:
+ branches:
+ - master
+ paths-ignore:
+ - documentation/**
+ - '**/README.md'
+ - '**/README_zh.md'
jobs:
test: