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
2 changes: 1 addition & 1 deletion .github/workflows/renovate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v6
- name: Renovate
uses: renovatebot/github-action@v46.1.13
uses: renovatebot/github-action@v46.1.14

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 | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "Resolve commit SHA for renovatebot/github-action tag v46.1.14"
curl -fsSL https://api.github.com/repos/renovatebot/github-action/git/ref/tags/v46.1.14 | jq -r '.object.sha'

echo
echo "Show all GitHub Action references in workflows and whether they are SHA-pinned"
fd -e yml -e yaml .github/workflows | while read -r f; do
  echo "== $f =="
  rg -n 'uses:\s*[^ ]+@[^ ]+' "$f" || true
done

Repository: shunkakinoki/dotfiles

Length of output: 640


🏁 Script executed:

cat -n .github/workflows/renovate.yml | head -30

Repository: shunkakinoki/dotfiles

Length of output: 1002


Pin the action to an immutable commit SHA instead of a mutable tag.

@v46.1.14 can be retargeted; pinning to a full commit SHA hardens the workflow against supply-chain drift.

Suggested change
-        uses: renovatebot/github-action@v46.1.14
+        uses: renovatebot/github-action@693b9ef15eec82123529a37c782242f091365961 # renovatebot/github-action v46.1.14
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
uses: renovatebot/github-action@v46.1.14
uses: renovatebot/github-action@693b9ef15eec82123529a37c782242f091365961 # renovatebot/github-action v46.1.14
🤖 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/renovate.yml at line 17, Replace the mutable tag reference
in the workflow by pinning the action to an immutable commit SHA: locate the
uses entry "uses: renovatebot/github-action@v46.1.14" and replace the tag with
the corresponding full commit SHA from the renovatebot/github-action repo (e.g.
renovatebot/github-action@<full-commit-sha>), ensuring the SHA you choose
matches the intended release; commit the updated workflow so the action is fixed
to that immutable SHA.

with:
configurationFile: renovate.json
token: ${{ secrets.PAT_TOKEN }}
Expand Down
Loading