diff --git a/.azurepipelines/Ubuntu-GCC5.yml b/.azurepipelines/Ubuntu-GCC5.yml index 7042cf939e..b83172330e 100644 --- a/.azurepipelines/Ubuntu-GCC5.yml +++ b/.azurepipelines/Ubuntu-GCC5.yml @@ -20,10 +20,10 @@ resources: type: github endpoint: microsoft name: microsoft/mu_devops - ref: refs/tags/v2.5.1 + ref: refs/tags/v3.0.0 containers: - container: linux-gcc - image: ghcr.io/tianocore/containers/fedora-37-build:3b3eb8f + image: ghcr.io/microsoft/mu_devops/ubuntu-22-build:4a1f8d3 variables: - group: architectures-arm-64-x86-64 @@ -34,10 +34,6 @@ jobs: parameters: arch_list: $(arch_list) extra_build_args: CODE_COVERAGE=TRUE - extra_install_step: - - script: | - sudo dnf install --assumeyes mingw64-gcc - displayName: Install Windows Resource Compiler for Linux tool_chain_tag: 'GCC5' vm_image: $(vm_image) container_image: linux-gcc diff --git a/.azurepipelines/Windows-VS.yml b/.azurepipelines/Windows-VS.yml index 5998a93a27..e28e4fa1c2 100644 --- a/.azurepipelines/Windows-VS.yml +++ b/.azurepipelines/Windows-VS.yml @@ -20,7 +20,7 @@ resources: type: github endpoint: microsoft name: microsoft/mu_devops - ref: refs/tags/v2.5.1 + ref: refs/tags/v3.0.0 variables: - group: architectures-x86-64 diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index aa85c55a3d..63489d477f 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,5 +1,5 @@ { - "image": "ghcr.io/tianocore/containers/fedora-37-dev:latest", + "image": "ghcr.io/microsoft/mu_devops/ubuntu-22-dev:latest", "postCreateCommand": "git config --global --add safe.directory '*' && pip install --upgrade -r pip-requirements.txt", "customizations": { "vscode": { diff --git a/.github/release-draft-config.yml b/.github/release-draft-config.yml new file mode 100644 index 0000000000..2ff03fca64 --- /dev/null +++ b/.github/release-draft-config.yml @@ -0,0 +1,97 @@ +# 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: 'v$RESOLVED_VERSION' +tag-template: 'v$RESOLVED_VERSION' + +template: | + # What's Changed + + $CHANGES + + **Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...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/workflows/auto-approve.yml b/.github/workflows/auto-approve.yml index 021aaf7ee0..44b3b58f34 100644 --- a/.github/workflows/auto-approve.yml +++ b/.github/workflows/auto-approve.yml @@ -25,5 +25,5 @@ jobs: approval_check: if: | github.event.pull_request.user.login == 'dependabot[bot]' || github.event.pull_request.user.login == 'uefibot' - uses: microsoft/mu_devops/.github/workflows/AutoApprover.yml@v2.5.1 + uses: microsoft/mu_devops/.github/workflows/AutoApprover.yml@v3.0.0 secrets: inherit diff --git a/.github/workflows/auto-merge.yml b/.github/workflows/auto-merge.yml index bb9b76f443..54daa16f4e 100644 --- a/.github/workflows/auto-merge.yml +++ b/.github/workflows/auto-merge.yml @@ -26,5 +26,5 @@ jobs: merge_check: if: | github.event.pull_request.user.login == 'dependabot[bot]' || github.event.pull_request.user.login == 'uefibot' - uses: microsoft/mu_devops/.github/workflows/AutoMerger.yml@v2.5.1 + uses: microsoft/mu_devops/.github/workflows/AutoMerger.yml@v3.0.0 secrets: inherit diff --git a/.github/workflows/issue-assignment.yml b/.github/workflows/issue-assignment.yml index 45146c54fd..9c12399286 100644 --- a/.github/workflows/issue-assignment.yml +++ b/.github/workflows/issue-assignment.yml @@ -18,4 +18,4 @@ on: jobs: apply: - uses: microsoft/mu_devops/.github/workflows/IssueAssignment.yml@v2.5.1 + uses: microsoft/mu_devops/.github/workflows/IssueAssignment.yml@v3.0.0 diff --git a/.github/workflows/label-issues.yml b/.github/workflows/label-issues.yml index 091dfa64e9..42463206c3 100644 --- a/.github/workflows/label-issues.yml +++ b/.github/workflows/label-issues.yml @@ -31,4 +31,4 @@ on: jobs: apply: - uses: microsoft/mu_devops/.github/workflows/Labeler.yml@v2.5.1 + uses: microsoft/mu_devops/.github/workflows/Labeler.yml@v3.0.0 diff --git a/.github/workflows/label-sync.yml b/.github/workflows/label-sync.yml index 6f7ee5a732..7e0cebca2a 100644 --- a/.github/workflows/label-sync.yml +++ b/.github/workflows/label-sync.yml @@ -24,4 +24,4 @@ on: jobs: sync: - uses: microsoft/mu_devops/.github/workflows/LabelSyncer.yml@v2.5.1 + uses: microsoft/mu_devops/.github/workflows/LabelSyncer.yml@v3.0.0 diff --git a/.github/workflows/release-draft.yml b/.github/workflows/release-draft.yml new file mode 100644 index 0000000000..5493878552 --- /dev/null +++ b/.github/workflows/release-draft.yml @@ -0,0 +1,31 @@ +# This workflow automatically drafts new project releases so it is obvious +# what a current release will look like at any time. +# +# It takes advantage of the labels used in Project Mu to automatically categorize +# the types of changes in a given release. In addition, the semantic version of +# the code is constantly maintained based on Project Mu label conventions to ensure +# semantic versioning is followed and a release version is always ready. +# +# 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: Update Release Draft + +on: + push: + branches: + - release/202302 + +jobs: + draft: + uses: microsoft/mu_devops/.github/workflows/ReleaseDrafter.yml@v3.0.0 + secrets: inherit diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 1db1625ae5..924e78f15b 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -24,4 +24,4 @@ on: jobs: check: - uses: microsoft/mu_devops/.github/workflows/Stale.yml@v2.5.1 + uses: microsoft/mu_devops/.github/workflows/Stale.yml@v3.0.0 diff --git a/.github/workflows/triage-issues.yml b/.github/workflows/triage-issues.yml index 62da52c1dc..2841bb5b53 100644 --- a/.github/workflows/triage-issues.yml +++ b/.github/workflows/triage-issues.yml @@ -19,4 +19,4 @@ on: jobs: triage: - uses: microsoft/mu_devops/.github/workflows/IssueTriager.yml@v2.5.1 + uses: microsoft/mu_devops/.github/workflows/IssueTriager.yml@v3.0.0