[release/v7.5.6] Bump github/codeql-action from 4.32.6 to 4.34.1 by adityapatwardhan · Pull Request #27170 · PowerShell/PowerShell · GitHub
Skip to content

[release/v7.5.6] Bump github/codeql-action from 4.32.6 to 4.34.1#27170

Merged
adityapatwardhan merged 2 commits intoPowerShell:release/v7.5.6from
adityapatwardhan:backport/release/v7.5.6/27087-c11d72116
Apr 3, 2026
Merged

[release/v7.5.6] Bump github/codeql-action from 4.32.6 to 4.34.1#27170
adityapatwardhan merged 2 commits intoPowerShell:release/v7.5.6from
adityapatwardhan:backport/release/v7.5.6/27087-c11d72116

Conversation

@adityapatwardhan
Copy link
Copy Markdown
Member

Backport of #27087 to release/v7.5.6

Triggered by @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

  • Required tooling change
  • Optional tooling change (include reasoning)

Updates CodeQL workflow action SHAs on the release branch to the same vetted version as main, maintaining CI/security scanning consistency.

Customer Impact

  • Customer reported
  • Found internally

Regression

REQUIRED: Check exactly one box.

  • Yes
  • No

This is not a regression.

Testing

Cherry-picked PR #27087 onto release/v7.5.6 and resolved workflow SHA conflicts in analyze-reusable.yml and scorecards.yml by preserving the intended dependency bump. Verified cherry-pick completed successfully and only the expected workflow action references changed.

Risk

REQUIRED: Check exactly one box.

  • High
  • Medium
  • Low

The change is a targeted workflow dependency SHA update with no product/runtime code changes; scope is limited to code scanning workflows.

Merge Conflicts

Resolved conflicts in .github/workflows/analyze-reusable.yml and .github/workflows/scorecards.yml by taking the incoming github/codeql-action SHA updates from the original PR.

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@adityapatwardhan adityapatwardhan added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Apr 2, 2026
@adityapatwardhan adityapatwardhan requested a review from a team as a code owner April 2, 2026 21:59
Copilot AI review requested due to automatic review settings April 2, 2026 21:59
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Backport PR updating pinned github/codeql-action references in release/v7.5.6 workflows to align CodeQL scanning dependencies with the vetted version used on main.

Changes:

  • Update github/codeql-action/init and github/codeql-action/analyze pinned SHAs in the reusable CodeQL workflow.
  • Update github/codeql-action/upload-sarif pinned SHA in the scorecards workflow.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
.github/workflows/analyze-reusable.yml Updates pinned SHAs for CodeQL init and analyze steps used by reusable analysis workflow.
.github/workflows/scorecards.yml Updates pinned SHA for CodeQL upload-sarif step used to upload SARIF results.

Comment on lines 49 to 51
- name: Initialize CodeQL
uses: github/codeql-action/init@4e94bd11f71e507f7f87df81788dff88d1dacbfb # v3.29.5
uses: github/codeql-action/init@38697555549f1db7851b81482ff19f1fa5c4fedc # v3.29.5
with:
Copy link

Copilot AI Apr 2, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The pinned CodeQL action SHA was updated, but the inline version comment still says # v3.29.5. Given the PR’s stated goal is to bump github/codeql-action to 4.34.1, please update the comment (or remove it) so the annotated version matches the SHA being pinned; otherwise it’s misleading for security/audit reviews.

Copilot uses AI. Check for mistakes.
Comment on lines 76 to +77
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@4e94bd11f71e507f7f87df81788dff88d1dacbfb # v3.29.5
uses: github/codeql-action/analyze@38697555549f1db7851b81482ff19f1fa5c4fedc # v3.29.5
Copy link

Copilot AI Apr 2, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The action SHA changed but the inline version comment remains # v3.29.5, which appears inconsistent with the PR’s stated bump to CodeQL Action 4.34.1. Please update the comment (or remove it) so it accurately reflects the pinned SHA/version.

Copilot uses AI. Check for mistakes.
Comment on lines 69 to +70
Copy link

Copilot AI Apr 2, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The pinned SHA was updated, but the inline comment still says # v3.29.5. Since this PR claims to bump github/codeql-action to 4.34.1, please adjust/remove the comment so the annotated version matches the SHA to avoid confusion during auditing.

Copilot uses AI. Check for mistakes.
@adityapatwardhan adityapatwardhan merged commit c2d774c into PowerShell:release/v7.5.6 Apr 3, 2026
35 checks passed
@adityapatwardhan adityapatwardhan deleted the backport/release/v7.5.6/27087-c11d72116 branch April 3, 2026 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants