Skip to content

Commit b1cdc35

Browse files
authored
.sync: Set recent workflows to a fixed version of mu_devops (#66)
When some workflows were added recently, the reusable workflow file that the leaf files depend on in mu_devops did not exist yet. Therefore, those leaf files depended on the `main` branch instead of a mu_devops release tag as the files would be in the `main` branch as soon as the PR was merged. Now that all of the reusable workflows are in a tagged release (as of the `v1.3.0` release), this change sets them to a fixed version of Mu DevOps as well. Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
1 parent 885656b commit b1cdc35

4 files changed

Lines changed: 11 additions & 3 deletions

File tree

.sync/Files.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,7 @@ group:
299299
- files:
300300
- source: .sync/workflows/leaf/auto-merge.yml
301301
dest: .github/workflows/auto-merge.yml
302+
template: true
302303
repos: |
303304
microsoft/mu
304305
microsoft/mu_basecore
@@ -320,6 +321,7 @@ group:
320321
- files:
321322
- source: .sync/workflows/leaf/triage-issues.yml
322323
dest: .github/workflows/triage-issues.yml
324+
template: true
323325
# Note: This file name (`advanced-issue-labeler.yml`) and path (`/.github/`) is
324326
# not configurable right now. Otherwise, this would get placed in a file
325327
# at `.github/workflows/triage-issues/issue-label-mapping.yml`.

.sync/workflows/leaf/auto-merge.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
# SPDX-License-Identifier: BSD-2-Clause-Patent
1414
#
1515

16+
{% import '../../Version.njk' as sync_version -%}
17+
1618
name: Auto Merge Pull Request
1719

1820
on:
@@ -36,4 +38,4 @@ on:
3638

3739
jobs:
3840
merge_check:
39-
uses: microsoft/mu_devops/.github/workflows/AutoMerger.yml@main
41+
uses: microsoft/mu_devops/.github/workflows/AutoMerger.yml@{{ sync_version.mu_devops }}

.sync/workflows/leaf/release-draft.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
# For more information, see:
1919
# https://github.com/release-drafter/release-drafter
2020

21+
{% import '../../Version.njk' as sync_version -%}
22+
2123
name: Update Release Draft
2224

2325
on:
@@ -27,4 +29,4 @@ on:
2729

2830
jobs:
2931
draft:
30-
uses: microsoft/mu_devops/.github/workflows/ReleaseDrafter.yml@main
32+
uses: microsoft/mu_devops/.github/workflows/ReleaseDrafter.yml@{{ sync_version.mu_devops }}

.sync/workflows/leaf/triage-issues.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
# SPDX-License-Identifier: BSD-2-Clause-Patent
1212
#
1313

14+
{% import '../../Version.njk' as sync_version -%}
15+
1416
name: Initial Triage for New Issue
1517

1618
on:
@@ -19,4 +21,4 @@ on:
1921

2022
jobs:
2123
sync:
22-
uses: microsoft/mu_devops/.github/workflows/IssueTriager.yml@main
24+
uses: microsoft/mu_devops/.github/workflows/IssueTriager.yml@{{ sync_version.mu_devops }}

0 commit comments

Comments
 (0)