浏览代码

ci: scheduled run

Execute the pipeline every week to catch build-issues early.
[Azure DevOps](https://learn.microsoft.com/en-us/azure/devops/pipelines/process/scheduled-triggers?view=azure-devops&pivots=pipelines-yaml#cron-syntax)
Lukas Kurz 4 月之前
父节点
当前提交
e8ec0aaf13
共有 1 个文件被更改,包括 9 次插入0 次删除
  1. 9 0
      azure-pipelines.yml

+ 9 - 0
azure-pipelines.yml

@@ -7,6 +7,15 @@ trigger:
 - master
 - release/*
 
+schedules:
+- cron: "0 0 * * 1" # At 00:00 on Monday
+  displayName: Weekly Monday Midnight
+  branches:
+    include:
+    - master
+    - release/*
+  always: true
+
 jobs:
   - job: Style
     timeoutInMinutes: 10