Skip to content

Commit 342224a

Browse files
committed
FileSyncer.yml: Move to out of office hour schedule
File sync can cause a large impact on CI resources. This change moves the trigger to a schedule outside office hours (1AM Pacific Time / 9AM UTC daily) to reduce resource usage during most active periods of other development. Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
1 parent b112f4e commit 342224a

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

.github/workflows/FileSyncer.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,10 @@
1010
name: Sync Mu DevOps Files to Mu Repos
1111

1212
on:
13-
push:
14-
branches:
15-
- main
16-
paths:
17-
- '.github/workflows/FileSyncer.yml'
18-
- '.sync/**'
13+
schedule:
14+
# * is a special character in YAML so you have to quote this string
15+
# Run daily at 9am UTC - https://crontab.guru/#0_9_*_*_*
16+
- cron: '0 9 * * *'
1917
workflow_dispatch:
2018

2119
jobs:

0 commit comments

Comments
 (0)