Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Rebase & FF] [Cherry-pick] Get all the missing commits from 202302 into 202311 #240

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 1 addition & 10 deletions .azurepipelines/MuDevOpsWrapper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ resources:
type: github
endpoint: microsoft
name: microsoft/mu_devops
ref: refs/tags/v7.2.0
ref: refs/tags/v9.1.1

parameters:
- name: do_ci_build
Expand All @@ -42,13 +42,6 @@ parameters:
displayName: Perform Stuart PR Evaluation
type: boolean
default: true
- name: calculate_code_coverage
displayName: Calculate Code Coverage From Unit Tests
default: false
- name: coverage_publish_target
displayName: Code Coverage Publish Target
type: string
default: 'ado' # 'ado', 'codecov'
- name: container_build
displayName: Flag for whether this repo should do stuart_setup
type: boolean
Expand Down Expand Up @@ -95,8 +88,6 @@ jobs:
do_ci_build: ${{ parameters.do_ci_build }}
do_ci_setup: ${{ parameters.do_ci_setup }}
do_pr_eval: ${{ parameters.do_pr_eval }}
calculate_code_coverage: ${{ parameters.calculate_code_coverage }}
coverage_publish_target: ${{ parameters.coverage_publish_target }}
do_non_ci_setup: ${{ parameters.do_non_ci_setup }}
do_non_ci_build: ${{ parameters.do_non_ci_build }}
build_matrix: ${{ parameters.build_matrix }}
Expand Down
1 change: 1 addition & 0 deletions .azurepipelines/Ubuntu-GCC5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
variables:
- group: architectures-arm-64-x86-64
- group: tool-chain-ubuntu-gcc
- group: coverage

extends:
template: MuDevOpsWrapper.yml
Expand Down
1 change: 1 addition & 0 deletions .azurepipelines/Windows-VS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
variables:
- group: architectures-x86-64
- group: tool-chain-windows-visual-studio-latest
- group: coverage

extends:
template: MuDevOpsWrapper.yml
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/auto-approve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ on:

jobs:
approval_check:

permissions:
pull-requests: write

if: |
github.event.pull_request.user.login == 'dependabot[bot]' || github.event.pull_request.user.login == 'uefibot'
uses: microsoft/mu_devops/.github/workflows/AutoApprover.yml@v7.2.0
uses: microsoft/mu_devops/.github/workflows/AutoApprover.yml@v9.1.1
secrets: inherit
8 changes: 7 additions & 1 deletion .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,13 @@ on:

jobs:
merge_check:

permissions:
contents: read
pull-requests: write
issues: write

if: |
github.event.pull_request.user.login == 'dependabot[bot]' || github.event.pull_request.user.login == 'uefibot'
uses: microsoft/mu_devops/.github/workflows/AutoMerger.yml@v7.2.0
uses: microsoft/mu_devops/.github/workflows/AutoMerger.yml@v9.1.1
secrets: inherit
6 changes: 3 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,14 +178,14 @@ jobs:

- name: Attempt to Load cargo-make From Cache
id: cargo_make_cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.get_cargo_tool_details.outputs.cargo_bin_path }}
key: ${{ steps.get_cargo_tool_details.outputs.cargo_make_cache_key }}

- name: Download cargo-make
if: steps.cargo_make_cache.outputs.cache-hit != 'true'
uses: robinraju/release-downloader@v1.8
uses: robinraju/release-downloader@v1.9
with:
repository: 'sagiegurari/cargo-make'
tag: '${{ steps.get_cargo_tool_details.outputs.cargo_make_version }}'
Expand Down Expand Up @@ -312,7 +312,7 @@ jobs:

- name: Attempt to Load CodeQL CLI From Cache
id: codeqlcli_cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.cache_key_gen.outputs.codeql_cli_ext_dep_dir }}
key: ${{ steps.cache_key_gen.outputs.codeql_cli_cache_key }}
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/issue-assignment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,9 @@ on:

jobs:
apply:
uses: microsoft/mu_devops/.github/workflows/[email protected]

permissions:
contents: read
issues: write

uses: microsoft/mu_devops/.github/workflows/[email protected]
7 changes: 6 additions & 1 deletion .github/workflows/label-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,9 @@ on:

jobs:
apply:
uses: microsoft/mu_devops/.github/workflows/[email protected]

permissions:
contents: read
pull-requests: write

uses: microsoft/mu_devops/.github/workflows/[email protected]
6 changes: 5 additions & 1 deletion .github/workflows/label-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,8 @@ on:

jobs:
sync:
uses: microsoft/mu_devops/.github/workflows/[email protected]

permissions:
issues: write

uses: microsoft/mu_devops/.github/workflows/[email protected]
7 changes: 6 additions & 1 deletion .github/workflows/pull-request-formatting-validator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ on:
jobs:
validate_pr:
runs-on: ubuntu-latest

permissions:
contents: read
pull-requests: write

steps:
- run: |
prTitle="$(gh api graphql -F owner=$OWNER -F name=$REPO -F pr_number=$PR_NUMBER -f query='
Expand All @@ -48,7 +53,7 @@ jobs:

- name: Check for Validation Errors
if: env.VALIDATION_ERROR
uses: actions/github-script@v7
uses: actions/github-script@v6
with:
script: |
core.setFailed('PR Formatting Validation Check Failed!')
7 changes: 6 additions & 1 deletion .github/workflows/release-draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,10 @@ on:

jobs:
draft:
uses: microsoft/mu_devops/.github/workflows/[email protected]

permissions:
contents: write
pull-requests: write

uses: microsoft/mu_devops/.github/workflows/[email protected]
secrets: inherit
5 changes: 5 additions & 0 deletions .github/workflows/scheduled-maintenance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ on:
jobs:
repo_cleanup:
runs-on: ubuntu-latest

permissions:
pull-requests: write
issues: write

steps:
- name: Get Repository Info
run: echo "REPOSITORY_NAME=${GITHUB_REPOSITORY#*/}" >> $GITHUB_ENV
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,9 @@ on:

jobs:
check:
uses: microsoft/mu_devops/.github/workflows/[email protected]

permissions:
issues: write
pull-requests: write

uses: microsoft/mu_devops/.github/workflows/[email protected]
6 changes: 5 additions & 1 deletion .github/workflows/triage-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,8 @@ on:

jobs:
triage:
uses: microsoft/mu_devops/.github/workflows/[email protected]

permissions:
issues: write

uses: microsoft/mu_devops/.github/workflows/[email protected]
4 changes: 2 additions & 2 deletions pip-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
# https://www.python.org/dev/peps/pep-0440/#version-specifiers
##

edk2-pytool-library==0.19.9
edk2-pytool-extensions==0.26.4
edk2-pytool-library==0.20.0
edk2-pytool-extensions==0.27.0
edk2-basetools==0.1.49
antlr4-python3-runtime==4.13.1
regex
Expand Down
Loading