From 950405d695fe284b51414a0156f0dc34e8c2744c Mon Sep 17 00:00:00 2001 From: uefibot Date: Mon, 13 Jan 2025 09:01:11 +0000 Subject: [PATCH] Repo File Sync: synced file(s) with microsoft/mu_devops Signed-off-by: Project Mu UEFI Bot --- .github/release-draft-config-n-1-dev.yml | 100 +++++++++++++++++++++++ .github/release-draft-config-n-1.yml | 9 +- .github/release-draft-config-n-dev.yml | 100 +++++++++++++++++++++++ .github/release-draft-config-n.yml | 9 +- .github/workflows/auto-approve.yml | 2 +- .github/workflows/auto-merge.yml | 2 +- .github/workflows/issue-assignment.yml | 2 +- .github/workflows/label-issues.yml | 2 +- .github/workflows/label-sync.yml | 2 +- .github/workflows/release-draft.yml | 11 ++- .github/workflows/stale.yml | 2 +- .github/workflows/triage-issues.yml | 2 +- 12 files changed, 224 insertions(+), 19 deletions(-) create mode 100644 .github/release-draft-config-n-1-dev.yml create mode 100644 .github/release-draft-config-n-dev.yml diff --git a/.github/release-draft-config-n-1-dev.yml b/.github/release-draft-config-n-1-dev.yml new file mode 100644 index 00000000..db987723 --- /dev/null +++ b/.github/release-draft-config-n-1-dev.yml @@ -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: >- + + +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' diff --git a/.github/release-draft-config-n-1.yml b/.github/release-draft-config-n-1.yml index fcf38acf..89f50f79 100644 --- a/.github/release-draft-config-n-1.yml +++ b/.github/release-draft-config-n-1.yml @@ -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' diff --git a/.github/release-draft-config-n-dev.yml b/.github/release-draft-config-n-dev.yml new file mode 100644 index 00000000..f8f6c2ad --- /dev/null +++ b/.github/release-draft-config-n-dev.yml @@ -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: >- + + +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' diff --git a/.github/release-draft-config-n.yml b/.github/release-draft-config-n.yml index b4fd801f..28f6ae8e 100644 --- a/.github/release-draft-config-n.yml +++ b/.github/release-draft-config-n.yml @@ -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' diff --git a/.github/workflows/auto-approve.yml b/.github/workflows/auto-approve.yml index 1f4e5ea1..4deb31ab 100644 --- a/.github/workflows/auto-approve.yml +++ b/.github/workflows/auto-approve.yml @@ -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 diff --git a/.github/workflows/auto-merge.yml b/.github/workflows/auto-merge.yml index c1b3184f..784086e7 100644 --- a/.github/workflows/auto-merge.yml +++ b/.github/workflows/auto-merge.yml @@ -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 diff --git a/.github/workflows/issue-assignment.yml b/.github/workflows/issue-assignment.yml index 5087200a..59fe556d 100644 --- a/.github/workflows/issue-assignment.yml +++ b/.github/workflows/issue-assignment.yml @@ -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 diff --git a/.github/workflows/label-issues.yml b/.github/workflows/label-issues.yml index 3129c6dc..8ce1927b 100644 --- a/.github/workflows/label-issues.yml +++ b/.github/workflows/label-issues.yml @@ -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 diff --git a/.github/workflows/label-sync.yml b/.github/workflows/label-sync.yml index 06c30d31..770a9b54 100644 --- a/.github/workflows/label-sync.yml +++ b/.github/workflows/label-sync.yml @@ -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 diff --git a/.github/workflows/release-draft.yml b/.github/workflows/release-draft.yml index dbe5cb9a..54262971 100644 --- a/.github/workflows/release-draft.yml +++ b/.github/workflows/release-draft.yml @@ -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 diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index f155bf8b..bb251da5 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -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 diff --git a/.github/workflows/triage-issues.yml b/.github/workflows/triage-issues.yml index bf71e4a5..8fc64734 100644 --- a/.github/workflows/triage-issues.yml +++ b/.github/workflows/triage-issues.yml @@ -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