forked from microsoft/mu_tiano_platforms
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (29 loc) · 1.12 KB
/
submodule-release-update.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
# This workflow automatically creates a pull request for any submodule in the repo
# that has a new GitHub release available. The release must follow semantic versioning.
#
# NOTE: This file is automatically synchronized from Mu DevOps. Update the original file there
# instead of the file in this repo.
#
# - Mu DevOps Repo: https://github.com/microsoft/mu_devops
# - File Sync Settings: https://github.com/microsoft/mu_devops/blob/main/.sync/Files.yml
#
# Copyright (c) Microsoft Corporation.
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
name: Update Submodules to Latest Release
on:
schedule:
- cron: '0 0 * * *' # https://crontab.guru/every-day
workflow_dispatch:
jobs:
repo_submodule_update:
name: Check for Submodule Releases
runs-on: ubuntu-latest
steps:
- name: Update Submodules to Latest Release
uses: microsoft/mu_devops/.github/actions/[email protected]
with:
GH_PAT: ${{ secrets.SUBMODULE_UPDATER_TOKEN }}
GH_USER: "ProjectMuBot"
GIT_EMAIL: "[email protected]"
GIT_NAME: "Project Mu Bot"