Skip to content
Closed
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/validate-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
cache: true

- name: Setup Node
uses: actions/setup-node@v4
uses: actions/setup-node@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.

maintainability (P3), medium confidence: Action is pinned to a mutable major-version tag. Pinning to a full commit SHA prevents tag-rewrite attacks on upstream actions.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At .github/workflows/validate-docs.yaml, line 32:

<issue>
Action is pinned to a mutable major-version tag. Pinning to a full commit SHA prevents tag-rewrite attacks on upstream actions.
</issue>

with:
node-version: "20"

Expand Down