-
Notifications
You must be signed in to change notification settings - Fork 26
51 lines (45 loc) · 1.57 KB
/
FileSyncer.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# This workflow syncs files and directories from Mu DevOps to other
# Project Mu repositories.
#
# Copyright (c) Microsoft Corporation.
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
# For more information, see:
# https://github.com/BetaHuhn/repo-file-sync-action
name: Sync Mu DevOps Files to Mu Repos
on:
schedule:
# * is a special character in YAML so you have to quote this string
# Run daily at 9am UTC - https://crontab.guru/#0_9_*_*_*
- cron: '0 9 * * *'
workflow_dispatch:
jobs:
sync:
name: Repo File Sync
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
actions: write
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Run GitHub File Sync
uses: BetaHuhn/repo-file-sync-action@v1
with:
COMMIT_AS_PR_TITLE: true
COMMIT_BODY: "Signed-off-by: Project Mu UEFI Bot <[email protected]>"
COMMIT_EACH_FILE: false
COMMIT_PREFIX: "Repo File Sync:"
CONFIG_PATH: .sync/Files.yml
DRY_RUN: false
FORK: false
GH_PAT: ${{ secrets.UEFI_BOT_REPO_FILE_SYNC }}
GIT_EMAIL: [email protected]
GIT_USERNAME: uefibot
ORIGINAL_MESSAGE: true
OVERWRITE_EXISTING_PR: true
PR_BODY: |
🤖: View the [Repo File Sync Configuration File](https://github.com/microsoft/mu_devops/blob/main/.sync/Files.yml) to see how files are synced.
PR_LABELS: type:file-sync
SKIP_PR: false