[release/v7.4.21] Bump github/codeql-action from 4.35.4 to 4.36.0 - #28045
Merged
Aditya Patwardhan (adityapatwardhan) merged 2 commits intoSep 22, 2026
Conversation
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Aditya Patwardhan (adityapatwardhan)
requested a review
from a team
as a code owner
September 21, 2026 21:19
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
Copilot started reviewing on behalf of
Aditya Patwardhan (adityapatwardhan)
September 21, 2026 21:20
View session
Contributor
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
The macOS workflow contains a YAML indentation issue that can prevent the workflow from parsing/running, and the CodeQL action version annotations are inconsistent with the pinned SHA.
Get a fresh assessment by requesting another Copilot review.
Review effort: Lite
Findings: 1
Open (3)
What changed in this PR
This PR backports workflow dependency pin updates onto release/v7.4.21, primarily updating GitHub Actions used for CI/build and CodeQL analysis to newer, pinned commit SHAs.
Changes:
- Bump
actions/setup-dotnetpins from v5.2.0 to v5.3.0 across multiple workflows. - Bump
github/codeql-actionpins (init/analyze/upload-sarif) to the v4.36.0 commit SHA in CodeQL-related workflows.
| File | Description |
|---|---|
| .github/workflows/xunit-tests.yml | Updates actions/setup-dotnet pin to v5.3.0. |
| .github/workflows/windows-packaging-reusable.yml | Updates actions/setup-dotnet pin to v5.3.0. |
| .github/workflows/analyze-reusable.yml | Updates actions/setup-dotnet pin to v5.3.0 and bumps CodeQL init/analyze pins. |
| .github/workflows/scorecards.yml | Bumps CodeQL SARIF upload action pin. |
| .github/workflows/macos-ci.yml | Updates actions/setup-dotnet pin to v5.3.0 in the macOS packaging job. |
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
165
to
+169
| - name: checkout | ||
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | ||
| with: | ||
| fetch-depth: 1000 | ||
| - uses: actions/setup-dotnet@c2fa09f4bde5ebb9d1777cf28262a3eb3db3ced7 # v5.2.0 | ||
| - uses: actions/setup-dotnet@9a946fdbd5fb07b82b2f5a4466058b876ab72bb2 # v5.3.0 |
| # Initializes the CodeQL tools for scanning. | ||
| - name: Initialize CodeQL | ||
| uses: github/codeql-action/init@c10b8064de6f491fea524254123dbe5e09572f13 # v3.29.5 | ||
| uses: github/codeql-action/init@7211b7c8077ea37d8641b6271f6a365a22a5fbfa # v3.29.5 |
| # Upload the results to GitHub's code scanning dashboard. | ||
| - name: "Upload to code-scanning" | ||
| uses: github/codeql-action/upload-sarif@c10b8064de6f491fea524254123dbe5e09572f13 # v3.29.5 | ||
| uses: github/codeql-action/upload-sarif@7211b7c8077ea37d8641b6271f6a365a22a5fbfa # v3.29.5 |
Aditya Patwardhan (adityapatwardhan)
enabled auto-merge (squash)
September 22, 2026 19:18
Patrick Meinecke (SeeminglyScience)
approved these changes
Sep 22, 2026
Aditya Patwardhan (adityapatwardhan)
merged commit Sep 22, 2026
1106bab
into
PowerShell:release/v7.4.21
37 checks passed
Justin Chung (jshigetomi)
approved these changes
Sep 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Backport of #27531 to release/v7.4.21
Triggered by Aditya Patwardhan (@adityapatwardhan) on behalf of @app/dependabot
Original CL Label: CL-BuildPackaging
/cc @PowerShell/powershell-maintainers
Impact
REQUIRED: Choose either Tooling Impact or Customer Impact (or both). At least one checkbox must be selected.
Tooling Impact
Updates the CodeQL init, analyze, and SARIF upload actions used by release-branch security analysis to the approved 4.36.0 revision.
Customer Impact
Regression
REQUIRED: Check exactly one box.
This is not a regression.
Testing
Validated with git diff --check and reviewed the final commit diff: exactly three CodeQL action references (init, analyze, and upload-sarif) move to the intended pinned revision. Workflow execution will be validated by backport CI.
Risk
REQUIRED: Check exactly one box.
High risk under repository guidance because this changes security-analysis workflow infrastructure. Scope is limited to pinned CodeQL action revisions already merged and exercised on master.
Merge Conflicts
Both workflow files conflicted because release/v7.4.21 carried older pinned CodeQL revisions and the dependency chain also requires the setup-dotnet update from #27539. The #27539 backport commit was stacked first. Conflicts were resolved by preserving each release workflow's structure and replacing only the three CodeQL action SHAs with the incoming #27531 revision; final diff confirms no unrelated changes.