Skip to content

sec(sast): pin github actions to commit shas and fix uv cooldown match - #2

Merged
cmorent merged 1 commit into
mainfrom
cedric/lin-1028-secsast-griptape-linkup-pin-github-actions-and-fix-uv
Oct 5, 2026
Merged

cmorent merged 1 commit into
mainfrom
cedric/lin-1028-secsast-griptape-linkup-pin-github-actions-and-fix-uv

Conversation

@cmorent

@cmorent cmorent commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Fixes the Bastion github-actions-mutable-action-tag findings (LIN-1028, SAST remediation project P-LIN-63).

Each step uses: now references a full commit SHA with the version in a trailing comment. Each SHA is the commit the existing tag points to today, so behaviour is unchanged.

Action Pinned to
  •    uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
    
  •    uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5.4.2
    
  •  uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5.4.2
    

It also fixes the uv-missing-dependency-cooldown finding. exclude-newer = "2 weeks" was already set, but the rule reads [tool.uv] only up to the first [, and default-groups = ["dev", "test"] came first. exclude-newer now comes first; no setting changes.

Checked with the upstream Semgrep rules: 0 findings after the change.

@cmorent
cmorent merged commit 621dec2 into main Oct 5, 2026
12 checks passed
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.

1 participant