Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ jobs:
with:
python-version: "3.12"
- name: Install uv
uses: astral-sh/setup-uv@v6
uses: astral-sh/setup-uv@v8.2.0

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

rg -n "astral-sh/setup-uv@" .github/workflows || true

echo "---- ci.yml context ----"
nl -ba .github/workflows/ci.yml | sed -n '120,170p'

echo "---- nightly-chaos.yml context ----"
nl -ba .github/workflows/nightly-chaos.yml | sed -n '340,410p'

Repository: hardbyte/awa

Length of output: 291


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "== all setup-uv uses =="
rg -n "uses:\s*astral-sh/setup-uv@" .github/workflows

echo
echo "== ci.yml around line 144 =="
sed -n '135,155p' .github/workflows/ci.yml

echo
echo "== nightly-chaos.yml around line 373 =="
sed -n '360,390p' .github/workflows/nightly-chaos.yml

Repository: hardbyte/awa

Length of output: 2249


🌐 Web query:

astral-sh/setup-uv v8.2.0 commit sha

💡 Result:

The commit SHA for astral-sh/setup-uv version v8.2.0 is fac544c06283516518a20d2d3a778c1837943d2c [1][2]. This SHA corresponds to the commit titled "chore(deps): roll up dependabot updates" (PR #903), which is the commit associated with the v8.2.0 release [1][2].

Citations:


Pin astral-sh/setup-uv to an immutable commit SHA
Both .github/workflows/ci.yml (line 144) and .github/workflows/nightly-chaos.yml (line 373) use the mutable tag astral-sh/setup-uv@v8.2.0. Replace both entries with astral-sh/setup-uv@fac544c06283516518a20d2d3a778c1837943d2c.

🧰 Tools
🪛 zizmor (1.25.2)

[error] 144-144: unpinned action reference (unpinned-uses): action is not pinned to a hash (required by blanket policy)

(unpinned-uses)

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/workflows/ci.yml at line 144, Replace the mutable GitHub Actions tag
"astral-sh/setup-uv@v8.2.0" with the immutable commit SHA
"astral-sh/setup-uv@fac544c06283516518a20d2d3a778c1837943d2c" wherever it
appears (e.g., the "uses: astral-sh/setup-uv@v8.2.0" entries in the CI and
nightly-chaos workflow files); update both occurrences to ensure the action is
pinned to the provided commit SHA.

Source: Linters/SAST tools

- name: Create venv and install deps
run: |
uv venv .venv
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly-chaos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ jobs:
with:
python-version: "3.12"
- name: Install uv
uses: astral-sh/setup-uv@v6
uses: astral-sh/setup-uv@v8.2.0
- name: Create venv and install deps
run: |
uv venv .venv
Expand Down