diff --git a/.azurepipelines/MuDevOpsWrapper.yml b/.azurepipelines/MuDevOpsWrapper.yml index 716487aff3..5b366ad1f5 100644 --- a/.azurepipelines/MuDevOpsWrapper.yml +++ b/.azurepipelines/MuDevOpsWrapper.yml @@ -19,7 +19,7 @@ resources: type: github endpoint: microsoft name: microsoft/mu_devops - ref: refs/tags/v9.1.5 + ref: refs/tags/v9.1.6 parameters: - name: do_ci_build diff --git a/.github/workflows/auto-approve.yml b/.github/workflows/auto-approve.yml index c4e1128757..fece7a6ac4 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@v9.1.5 + uses: microsoft/mu_devops/.github/workflows/AutoApprover.yml@v9.1.6 secrets: inherit diff --git a/.github/workflows/auto-merge.yml b/.github/workflows/auto-merge.yml index b8d346fc64..18a9855c39 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@v9.1.5 + uses: microsoft/mu_devops/.github/workflows/AutoMerger.yml@v9.1.6 secrets: inherit diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index a44eb4d25b..2ee07366db 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -21,6 +21,7 @@ # Copyright (c) Microsoft Corporation. # SPDX-License-Identifier: BSD-2-Clause-Patent + name: "CodeQL" on: @@ -151,25 +152,34 @@ jobs: print(f'ci_setup_supported={str(ci_setup_supported).lower()}', file=fh) print(f'setup_supported={str(setup_supported).lower()}', file=fh) + + - name: Get Cargo Tool Details id: get_cargo_tool_details shell: python run: | import os import requests + import sys GITHUB_REPO = "sagiegurari/cargo-make" - API_URL = f"https://api.github.com/repos/{GITHUB_REPO}/releases/latest" + api_url = f"https://api.github.com/repos/{GITHUB_REPO}/releases/tags/0.37.9" + + response = requests.get(api_url) + if response.status_code == 200: + build_release_id = response.json()["id"] + else: + print("::error title=GitHub Release Error!::Failed to get cargo-make release ID!") + sys.exit(1) - # Default value in case getting latest fails, cache will fall - # back on this version. - latest_cargo_make_version = "0.36.13" - response = requests.get(API_URL) + api_url = f"https://api.github.com/repos/{GITHUB_REPO}/releases/{build_release_id}" + response = requests.get(api_url) if response.status_code == 200: latest_cargo_make_version = response.json()["tag_name"] else: - print("::error title=GitHub Release Error!::Failed to get latest cargo-make version!") + print("::error title=GitHub Release Error!::Failed to get cargo-make!") + sys.exit(1) cache_key = f'cargo-make-{latest_cargo_make_version}' @@ -178,6 +188,7 @@ jobs: print(f'cargo_make_cache_key={cache_key}', file=fh) print(f'cargo_make_version={latest_cargo_make_version}', file=fh) + - name: Attempt to Load cargo-make From Cache id: cargo_make_cache uses: actions/cache@v4 @@ -453,3 +464,5 @@ jobs: # Optional category for the results. Used to differentiate multiple results for one commit. # Each package is a separate category. category: ${{ matrix.package }} + + diff --git a/.github/workflows/issue-assignment.yml b/.github/workflows/issue-assignment.yml index b2db4cf306..b205248419 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@v9.1.5 + uses: microsoft/mu_devops/.github/workflows/IssueAssignment.yml@v9.1.6 diff --git a/.github/workflows/label-issues.yml b/.github/workflows/label-issues.yml index 9f5036cab4..4d2a4f718d 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@v9.1.5 + uses: microsoft/mu_devops/.github/workflows/Labeler.yml@v9.1.6 diff --git a/.github/workflows/label-sync.yml b/.github/workflows/label-sync.yml index 42642c3439..f3d286cd0b 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@v9.1.5 + uses: microsoft/mu_devops/.github/workflows/LabelSyncer.yml@v9.1.6 diff --git a/.github/workflows/release-draft.yml b/.github/workflows/release-draft.yml index 9db0965d6c..a22e51186b 100644 --- a/.github/workflows/release-draft.yml +++ b/.github/workflows/release-draft.yml @@ -32,5 +32,5 @@ jobs: contents: write pull-requests: write - uses: microsoft/mu_devops/.github/workflows/ReleaseDrafter.yml@v9.1.5 + uses: microsoft/mu_devops/.github/workflows/ReleaseDrafter.yml@v9.1.6 secrets: inherit diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 3da74c0b68..c6a063fb38 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@v9.1.5 + uses: microsoft/mu_devops/.github/workflows/Stale.yml@v9.1.6 diff --git a/.github/workflows/triage-issues.yml b/.github/workflows/triage-issues.yml index 38616c4b4f..e570f79570 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@v9.1.5 + uses: microsoft/mu_devops/.github/workflows/IssueTriager.yml@v9.1.6