Skip to content

SonarCloud: GitHub Actions / dependency hardening (×11) #303

Description

@don-petry

GitHub Actions / dependency supply-chain hardening

SonarCloud open findings in petry-projects/markets11 issue(s) grouped as one workstream. Part of the org SonarCloud tuning initiative petry-projects/.github#593.

Findings

Rule Count Representative message
githubactions:S6505 6 Omitting "--ignore-scripts" allows lifecycle scripts to run during package installation.
githubactions:S8543 5 Define exact package version to avoid installing unverified releases.

Affected files

  • .github/workflows/ci.yml (11)

Approach

Harden workflow/package steps: pin exact versions, add --ignore-scripts/--only-binary, use lockfile-enforcing install commands. Where a step comes from a shared .github reusable, fix it at the source so callers inherit.

Acceptance

  • All listed SonarCloud findings for this repo/workstream resolved to zero
  • No behavior change; existing tests/CI green
  • Fixes are real (no blanket NOSONAR unless a confirmed false positive, noted inline)

Filed from the 2026-07-03 org SonarCloud review.

Metadata

Metadata

Assignees

No one assigned

    Labels

    dev-leadFor dev-lead agent pickupenhancementFeature requestssecuritySecurity-related PRs and issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions