diff --git a/.azurepipelines/Ubuntu-CLANGPDB.yml b/.azurepipelines/Ubuntu-CLANGPDB.yml index 80123b80622..732d767e09a 100644 --- a/.azurepipelines/Ubuntu-CLANGPDB.yml +++ b/.azurepipelines/Ubuntu-CLANGPDB.yml @@ -20,7 +20,7 @@ resources: type: github endpoint: microsoft name: microsoft/mu_devops - ref: refs/tags/v2.4.0 + ref: refs/tags/v2.5.1 variables: - group: architectures-x86-64 diff --git a/.azurepipelines/Ubuntu-GCC5.yml b/.azurepipelines/Ubuntu-GCC5.yml index 150b4698db6..7042cf939e5 100644 --- a/.azurepipelines/Ubuntu-GCC5.yml +++ b/.azurepipelines/Ubuntu-GCC5.yml @@ -20,7 +20,7 @@ resources: type: github endpoint: microsoft name: microsoft/mu_devops - ref: refs/tags/v2.4.0 + ref: refs/tags/v2.5.1 containers: - container: linux-gcc image: ghcr.io/tianocore/containers/fedora-37-build:3b3eb8f diff --git a/.azurepipelines/Windows-CLANGPDB.yml b/.azurepipelines/Windows-CLANGPDB.yml index 6758f387647..db1e6b801cc 100644 --- a/.azurepipelines/Windows-CLANGPDB.yml +++ b/.azurepipelines/Windows-CLANGPDB.yml @@ -20,7 +20,7 @@ resources: type: github endpoint: microsoft name: microsoft/mu_devops - ref: refs/tags/v2.4.0 + ref: refs/tags/v2.5.1 variables: - group: architectures-x86-64 diff --git a/.azurepipelines/Windows-VS.yml b/.azurepipelines/Windows-VS.yml index 1b316d73fb9..5998a93a274 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.4.0 + ref: refs/tags/v2.5.1 variables: - group: architectures-x86-64 diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index eaa7832914d..aa85c55a3de 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,6 +1,6 @@ { "image": "ghcr.io/tianocore/containers/fedora-37-dev:latest", - "postCreateCommand": "git config --global --add safe.directory * && pip install --upgrade -r pip-requirements.txt", + "postCreateCommand": "git config --global --add safe.directory '*' && pip install --upgrade -r pip-requirements.txt", "customizations": { "vscode": { "extensions": [ diff --git a/.github/workflows/auto-approve.yml b/.github/workflows/auto-approve.yml index 42610d0815f..021aaf7ee07 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.4.0 + uses: microsoft/mu_devops/.github/workflows/AutoApprover.yml@v2.5.1 secrets: inherit diff --git a/.github/workflows/auto-merge.yml b/.github/workflows/auto-merge.yml index 05a8e59ea84..bb9b76f443f 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.4.0 + uses: microsoft/mu_devops/.github/workflows/AutoMerger.yml@v2.5.1 secrets: inherit diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 702c9cf257e..b5436372f44 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -153,13 +153,43 @@ jobs: if: steps.get_ci_file_operations.outputs.setup_supported == 'true' run: stuart_setup -c .pytool/CISettings.py -t DEBUG -a ${{ matrix.archs }} TOOL_CHAIN_TAG=${{ matrix.tool_chain_tag }} + - name: Upload Setup Log As An Artifact + uses: actions/upload-artifact@v3 + if: (success() || failure()) && steps.get_ci_file_operations.outputs.setup_supported == 'true' + with: + name: ${{ matrix.package }}-Logs + path: | + **/SETUPLOG.txt + retention-days: 7 + if-no-files-found: ignore + - name: CI Setup if: steps.get_ci_file_operations.outputs.ci_setup_supported == 'true' run: stuart_ci_setup -c .pytool/CISettings.py -t DEBUG -a ${{ matrix.archs }} TOOL_CHAIN_TAG=${{ matrix.tool_chain_tag }} + - name: Upload CI Setup Log As An Artifact + uses: actions/upload-artifact@v3 + if: (success() || failure()) && steps.get_ci_file_operations.outputs.ci_setup_supported == 'true' + with: + name: ${{ matrix.package }}-Logs + path: | + **/CISETUP.txt + retention-days: 7 + if-no-files-found: ignore + - name: Update run: stuart_update -c .pytool/CISettings.py -t DEBUG -a ${{ matrix.archs }} TOOL_CHAIN_TAG=${{ matrix.tool_chain_tag }} + - name: Upload Update Log As An Artifact + uses: actions/upload-artifact@v3 + if: success() || failure() + with: + name: ${{ matrix.package }}-Logs + path: | + **/UPDATE_LOG.txt + retention-days: 7 + if-no-files-found: ignore + - name: Find CodeQL Plugin Directory id: find_dir shell: python @@ -240,6 +270,21 @@ jobs: STUART_CODEQL_PATH: ${{ steps.cache_key_gen.outputs.codeql_cli_ext_dep_dir }} run: stuart_ci_build -c .pytool/CISettings.py -t DEBUG -p ${{ matrix.package }} -a ${{ matrix.archs }} TOOL_CHAIN_TAG=${{ matrix.tool_chain_tag }} --codeql + - name: Upload Build Logs As An Artifact + uses: actions/upload-artifact@v3 + if: success() || failure() + with: + name: ${{ matrix.package }}-Logs + path: | + **/BUILD_REPORT.TXT + **/OVERRIDELOG.TXT + **/BUILDLOG_*.md + **/BUILDLOG_*.txt + **/CI_*.md + **/CI_*.txt + retention-days: 7 + if-no-files-found: ignore + - name: Prepare Env Data for CodeQL Upload id: env_data env: @@ -256,31 +301,6 @@ jobs: with open(os.environ['GITHUB_OUTPUT'], 'a') as fh: print(f'sarif_file_path={sarif_path}', file=fh) - - name: Upload Setup and Update Logs As An Artifact - uses: actions/upload-artifact@v3 - with: - name: ${{ matrix.package }}-Setup-Update-Logs - path: | - **/OVERRIDELOG.TXT - CISETUP.txt - SETUPLOG.txt - UPDATE_LOG.txt - retention-days: 3 - if-no-files-found: ignore - - - name: Upload Build Log As An Artifact - uses: actions/upload-artifact@v3 - with: - name: ${{ matrix.package }}-Build-Logs - path: | - **/BUILD_REPORT.TXT - BUILDLOG_*.md - BUILDLOG_*.txt - CI_*.md - CI_*.txt - retention-days: 7 - if-no-files-found: ignore - - name: Upload CodeQL Results (SARIF) As An Artifact uses: actions/upload-artifact@v3 with: diff --git a/.github/workflows/issue-assignment.yml b/.github/workflows/issue-assignment.yml new file mode 100644 index 00000000000..45146c54fd8 --- /dev/null +++ b/.github/workflows/issue-assignment.yml @@ -0,0 +1,21 @@ +# This workflow provides actions that should be applied when an issue is assigned. +# +# 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: React to Issue Assignment + +on: + issues: + types: assigned + +jobs: + apply: + uses: microsoft/mu_devops/.github/workflows/IssueAssignment.yml@v2.5.1 diff --git a/.github/workflows/label-issues.yml b/.github/workflows/label-issues.yml index 560c9b0f71c..091dfa64e98 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.4.0 + uses: microsoft/mu_devops/.github/workflows/Labeler.yml@v2.5.1 diff --git a/.github/workflows/label-sync.yml b/.github/workflows/label-sync.yml index 3b8b85b17be..6f7ee5a7326 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.4.0 + uses: microsoft/mu_devops/.github/workflows/LabelSyncer.yml@v2.5.1 diff --git a/.github/workflows/release-draft.yml b/.github/workflows/release-draft.yml index fcab7464440..3fead424f46 100644 --- a/.github/workflows/release-draft.yml +++ b/.github/workflows/release-draft.yml @@ -27,5 +27,5 @@ on: jobs: draft: - uses: microsoft/mu_devops/.github/workflows/ReleaseDrafter.yml@v2.4.0 + uses: microsoft/mu_devops/.github/workflows/ReleaseDrafter.yml@v2.5.1 secrets: inherit diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 859f12fe455..1db1625ae5e 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.4.0 + uses: microsoft/mu_devops/.github/workflows/Stale.yml@v2.5.1 diff --git a/.github/workflows/triage-issues.yml b/.github/workflows/triage-issues.yml index c7a3f557a67..62da52c1dc5 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.4.0 + uses: microsoft/mu_devops/.github/workflows/IssueTriager.yml@v2.5.1