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

[release/v7.4.15] Bump github/codeql-action from 4.34.1 to 4.35.1#27175

Merged
adityapatwardhan merged 2 commits intoPowerShell:release/v7.4.15from
adityapatwardhan:backport/release/v7.4.15/27120-79526d246
Apr 3, 2026
Merged

[release/v7.4.15] Bump github/codeql-action from 4.34.1 to 4.35.1#27175
adityapatwardhan merged 2 commits intoPowerShell:release/v7.4.15from
adityapatwardhan:backport/release/v7.4.15/27120-79526d246

Conversation

@adityapatwardhan
Copy link
Copy Markdown
Member

Backport of #27120 to release/v7.4.15

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 the pinned github/codeql-action commit in release/v7.4.15 workflows so the release branch picks up the 4.35.1 CodeQL Action changes, including the corrected minimum Git version handling.

Customer Impact

  • Customer reported
  • Found internally

Regression

REQUIRED: Check exactly one box.

  • Yes
  • No

This is not a regression.

Testing

Cherry-picked the original PR onto release/v7.4.15 in the dedicated backport worktree. Resolved workflow pin conflicts by applying the updated CodeQL action commit to the release-branch workflow definitions and verified the cherry-pick completed successfully without remaining conflicts.

Risk

REQUIRED: Check exactly one box.

  • High
  • Medium
  • Low

This changes CI and code-scanning workflow definitions on a release branch. The edit is narrowly scoped to pinned action SHAs, but workflow changes can affect build and security scanning behavior across the branch.

Merge Conflicts

Conflicts occurred in .github/workflows/analyze-reusable.yml and .github/workflows/scorecards.yml because release/v7.4.15 had already diverged in its pinned CodeQL action SHAs. Resolved by keeping the release branch workflow structure and replacing only the CodeQL action references with the PR's updated c10b8064de6f491fea524254123dbe5e09572f13 pin.

@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 22:40
Copilot AI review requested due to automatic review settings April 2, 2026 22:40
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 update on release/v7.4.15 to bump the pinned github/codeql-action commit SHA used by CodeQL-related workflows, so the branch picks up the newer CodeQL Action behavior described in the PR metadata.

Changes:

  • Update github/codeql-action/init and github/codeql-action/analyze pins in the reusable CodeQL workflow.
  • Update github/codeql-action/upload-sarif pin 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/analyze steps used by the reusable analysis workflow.
.github/workflows/scorecards.yml Updates pinned SHA for CodeQL SARIF upload step used by the scorecards workflow.

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@4e94bd11f71e507f7f87df81788dff88d1dacbfb # v3.29.5
uses: github/codeql-action/init@c10b8064de6f491fea524254123dbe5e09572f13 # 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 pinned SHA was updated as part of a bump to github/codeql-action 4.35.1 (per PR title/description), but the trailing version comment still says v3.29.5. Please update the inline comment to reflect the actual CodeQL Action release corresponding to this SHA to avoid future confusion when auditing workflow dependencies.

Copilot uses AI. Check for mistakes.

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@4e94bd11f71e507f7f87df81788dff88d1dacbfb # v3.29.5
uses: github/codeql-action/analyze@c10b8064de6f491fea524254123dbe5e09572f13 # 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 PR is bumping github/codeql-action to 4.35.1, but this analyze step still has an inline version comment of v3.29.5. Update the comment to match the release/tag associated with the pinned SHA so the workflow accurately documents what is being used.

Copilot uses AI. Check for mistakes.
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.

This line updates the pinned upload-sarif SHA, but the trailing version comment (v3.29.5) doesn’t match the PR’s stated bump to CodeQL Action 4.35.1 (and previously referenced v2.25.0). Please update the inline comment to the actual action version for this SHA to keep dependency tracking accurate.

Copilot uses AI. Check for mistakes.
@adityapatwardhan adityapatwardhan enabled auto-merge (squash) April 3, 2026 18:23
@adityapatwardhan adityapatwardhan merged commit e3ee855 into PowerShell:release/v7.4.15 Apr 3, 2026
36 checks passed
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