From 4dab5e0e59680ca77c5c3beab0d08ac15d1a1af9 Mon Sep 17 00:00:00 2001 From: guozhanxin Date: Thu, 20 Jan 2022 15:25:40 +0800 Subject: [PATCH] [ci] Optimize AutoTestCI trigger timing. --- .github/workflows/action_utest.yml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) 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: