Skip to content

Pin mutable GitHub Action reference in build workflow - #2233

Merged
akurtakov merged 2 commits into
masterfrom
copilot/fix-code-scanning-alerts
Sep 23, 2026
Merged

akurtakov merged 2 commits into
masterfrom
copilot/fix-code-scanning-alerts

Conversation

Copilot AI commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

This change addresses the code scanning finding for an unpinned third-party GitHub Action in the build workflow. The workflow now uses an immutable commit SHA instead of a mutable tag for the SSH debug step.

  • Workflow supply-chain hardening

    • Replaced the mutable mxschmitt/action-tmate@v3 reference in .github/workflows/build.yml with the corresponding full commit SHA
    • Kept the version hint in a trailing comment to preserve readability when updating later
  • Scope

    • Limited to the single flagged workflow step
    • No behavior changes to the workflow beyond making the action reference immutable
- name: "SSH session for debugging: start"
  uses: mxschmitt/action-tmate@35b54afac29c97fb54faba5b513f8fbd1882f113 # v3.24 - https://github.com/mxschmitt/action-tmate

Co-authored-by: akurtakov <574788+akurtakov@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix code scanning alert #9 Pin mutable GitHub Action reference in build workflow Sep 23, 2026
Copilot AI requested a review from akurtakov September 23, 2026 08:05
@akurtakov
akurtakov marked this pull request as ready for review September 23, 2026 08:20
@akurtakov
akurtakov merged commit e00d070 into master Sep 23, 2026
12 checks passed
@akurtakov
akurtakov deleted the copilot/fix-code-scanning-alerts branch September 23, 2026 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants