Skip to content
Merged
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
12 changes: 6 additions & 6 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,15 +89,15 @@ jobs:
# including when manually dispatched from the release landing branch.
ref: develop

- name: Setup python
uses: actions/setup-python@v5
- name: Set up uv
uses: astral-sh/setup-uv@v6

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P2 security Mutable third-party action reference

astral-sh/setup-uv@v6 allows the executed action implementation to change without a repository update, exposing scheduled and manually dispatched documentation runs to unexpected upstream changes or tag compromise. Pin this action to a reviewed full commit SHA. How this was verified: The new workflow line executes a third-party action through the mutable v6 tag.

with:
python-version: "3.12"
architecture: x64

- name: Install dev requirements
working-directory: ./docs
run: pip install -r requirements.txt
- name: Install docs dependencies
run: |
uv sync --extra test
echo "$PWD/.venv/bin" >> "$GITHUB_PATH"
- name: Generate multi-version docs
working-directory: ./docs
Expand Down
Loading