Skip to content

Commit

Permalink
Repo File Sync: synced file(s) with microsoft/mu_devops
Browse files Browse the repository at this point in the history
Signed-off-by: Project Mu UEFI Bot <[email protected]>
  • Loading branch information
uefibot committed Jan 12, 2025
1 parent 409d8e2 commit b1b3cde
Show file tree
Hide file tree
Showing 12 changed files with 224 additions and 19 deletions.
100 changes: 100 additions & 0 deletions .github/release-draft-config-n-1-dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
# Defines the configuration used for drafting new releases.
#
# IMPORTANT: Only use labels defined in the .github/Labels.yml file in this repo.
#
# NOTE: `semver:major`, `semver:minor`, and `semver:patch` can be used to force that
# version to roll regardless of other labels.
#
# 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
#
# For more information, see:
# https://github.com/release-drafter/release-drafter

name-template: 'dev-v$RESOLVED_VERSION'
tag-template: 'dev-v$RESOLVED_VERSION'

commitish: refs/heads/dev/202311
filter-by-commitish: true

template: |
# What's Changed
$CHANGES
**Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...dev-v$RESOLVED_VERSION
categories:
- title: '⚠️ Breaking Changes'
labels:
- 'impact:breaking-change'
- title: '🚀 Features & ✨ Enhancements'
labels:
- 'type:design-change'
- 'type:enhancement'
- 'type:feature-request'
- title: '🐛 Bug Fixes'
labels:
- 'type:bug'
- title: '🔐 Security Impacting'
labels:
- 'impact:security'
- title: '📖 Documentation Updates'
labels:
- 'type:documentation'
- title: '🛠️ Submodule Updates'
labels:
- 'type:submodules'

change-template: >-
<ul>
<li>
$TITLE @$AUTHOR (#$NUMBER)
<br>
<details>
<summary>Change Details</summary>
<blockquote>
<!-- Non-breaking space to have content if body is empty -->
&nbsp; $BODY
</blockquote>
<hr>
</details>
</li>
</ul>
change-title-escapes: '\<*_&@' # Note: @ is added to disable mentions

# Maintenance: Keep labels organized in ascending alphabetical order - easier to scan, identify duplicates, etc.
version-resolver:
major:
labels:
- 'impact:breaking-change'
- 'semver:major'
minor:
labels:
- 'semver:minor'
- 'type:design-change'
- 'type:enhancement'
- 'type:feature-request'
patch:
labels:
- 'impact:non-functional'
- 'semver:patch'
- 'type:bug'
- 'type:documentation'
default: patch

exclude-labels:
- 'type:dependabot'
- 'type:file-sync'
- 'type:notes'
- 'type:question'

exclude-contributors:
- 'uefibot'
9 changes: 5 additions & 4 deletions .github/release-draft-config-n-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,19 @@
# For more information, see:
# https://github.com/release-drafter/release-drafter

name-template: 'v$RESOLVED_VERSION'
tag-template: 'v$RESOLVED_VERSION'
name-template: 'dev-v$RESOLVED_VERSION'
tag-template: 'dev-v$RESOLVED_VERSION'

commitish: refs/heads/release/202311
commitish: refs/heads/dev/202311
filter-by-commitish: true
include-labels: ["type:backport"]

template: |
# What's Changed
$CHANGES
**Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION
**Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...dev-v$RESOLVED_VERSION
categories:
- title: '⚠️ Breaking Changes'
Expand Down
100 changes: 100 additions & 0 deletions .github/release-draft-config-n-dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
# Defines the configuration used for drafting new releases.
#
# IMPORTANT: Only use labels defined in the .github/Labels.yml file in this repo.
#
# NOTE: `semver:major`, `semver:minor`, and `semver:patch` can be used to force that
# version to roll regardless of other labels.
#
# 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
#
# For more information, see:
# https://github.com/release-drafter/release-drafter

name-template: 'dev-v$RESOLVED_VERSION'
tag-template: 'dev-v$RESOLVED_VERSION'

commitish: refs/heads/dev/202405
filter-by-commitish: true

template: |
# What's Changed
$CHANGES
**Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...dev-v$RESOLVED_VERSION
categories:
- title: '⚠️ Breaking Changes'
labels:
- 'impact:breaking-change'
- title: '🚀 Features & ✨ Enhancements'
labels:
- 'type:design-change'
- 'type:enhancement'
- 'type:feature-request'
- title: '🐛 Bug Fixes'
labels:
- 'type:bug'
- title: '🔐 Security Impacting'
labels:
- 'impact:security'
- title: '📖 Documentation Updates'
labels:
- 'type:documentation'
- title: '🛠️ Submodule Updates'
labels:
- 'type:submodules'

change-template: >-
<ul>
<li>
$TITLE @$AUTHOR (#$NUMBER)
<br>
<details>
<summary>Change Details</summary>
<blockquote>
<!-- Non-breaking space to have content if body is empty -->
&nbsp; $BODY
</blockquote>
<hr>
</details>
</li>
</ul>
change-title-escapes: '\<*_&@' # Note: @ is added to disable mentions

# Maintenance: Keep labels organized in ascending alphabetical order - easier to scan, identify duplicates, etc.
version-resolver:
major:
labels:
- 'impact:breaking-change'
- 'semver:major'
minor:
labels:
- 'semver:minor'
- 'type:design-change'
- 'type:enhancement'
- 'type:feature-request'
patch:
labels:
- 'impact:non-functional'
- 'semver:patch'
- 'type:bug'
- 'type:documentation'
default: patch

exclude-labels:
- 'type:dependabot'
- 'type:file-sync'
- 'type:notes'
- 'type:question'

exclude-contributors:
- 'uefibot'
9 changes: 5 additions & 4 deletions .github/release-draft-config-n.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,19 @@
# For more information, see:
# https://github.com/release-drafter/release-drafter

name-template: 'v$RESOLVED_VERSION'
tag-template: 'v$RESOLVED_VERSION'
name-template: 'dev-v$RESOLVED_VERSION'
tag-template: 'dev-v$RESOLVED_VERSION'

commitish: refs/heads/release/202405
commitish: refs/heads/dev/202405
filter-by-commitish: true
include-labels: ["type:backport"]

template: |
# What's Changed
$CHANGES
**Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION
**Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...dev-v$RESOLVED_VERSION
categories:
- title: '⚠️ Breaking Changes'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/auto-approve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ jobs:

if: |
github.event.pull_request.user.login == 'dependabot[bot]' || github.event.pull_request.user.login == 'uefibot'
uses: microsoft/mu_devops/.github/workflows/AutoApprover.yml@v12.2.0
uses: microsoft/mu_devops/.github/workflows/AutoApprover.yml@v12.4.0
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ jobs:

if: |
github.event.pull_request.user.login == 'dependabot[bot]' || github.event.pull_request.user.login == 'uefibot'
uses: microsoft/mu_devops/.github/workflows/AutoMerger.yml@v12.2.0
uses: microsoft/mu_devops/.github/workflows/AutoMerger.yml@v12.4.0
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/issue-assignment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ jobs:
contents: read
issues: write

uses: microsoft/mu_devops/.github/workflows/IssueAssignment.yml@v12.2.0
uses: microsoft/mu_devops/.github/workflows/IssueAssignment.yml@v12.4.0
2 changes: 1 addition & 1 deletion .github/workflows/label-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ jobs:
contents: read
pull-requests: write

uses: microsoft/mu_devops/.github/workflows/Labeler.yml@v12.2.0
uses: microsoft/mu_devops/.github/workflows/Labeler.yml@v12.4.0
2 changes: 1 addition & 1 deletion .github/workflows/label-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ jobs:
permissions:
issues: write

uses: microsoft/mu_devops/.github/workflows/LabelSyncer.yml@v12.2.0
uses: microsoft/mu_devops/.github/workflows/LabelSyncer.yml@v12.4.0
11 changes: 7 additions & 4 deletions .github/workflows/release-draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,19 @@
name: Update Release Draft

on:
push:
branches:
- release/202405
workflow_run:
workflows: ["Backport Commits to Release Branch"]
branches: [dev/202405]
types:
- completed

jobs:
draft:
name: Draft Releases

permissions:
contents: write
pull-requests: write

uses: microsoft/mu_devops/.github/workflows/ReleaseDrafter.yml@v12.2.0
uses: microsoft/mu_devops/.github/workflows/ReleaseDrafter.yml@v12.4.0
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ jobs:
issues: write
pull-requests: write

uses: microsoft/mu_devops/.github/workflows/Stale.yml@v12.2.0
uses: microsoft/mu_devops/.github/workflows/Stale.yml@v12.4.0
2 changes: 1 addition & 1 deletion .github/workflows/triage-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ jobs:
permissions:
issues: write

uses: microsoft/mu_devops/.github/workflows/IssueTriager.yml@v12.2.0
uses: microsoft/mu_devops/.github/workflows/IssueTriager.yml@v12.4.0

0 comments on commit b1b3cde

Please sign in to comment.