Pin astral-sh/ruff-action to a specific commit (#3265)

The GitHub docs recommend pinning third-party actions to specific
commits for security hardening purposes.
This commit is contained in:
correctmost 2025-03-22 19:14:05 -04:00 committed by GitHub
parent 02729f0a50
commit 083194f0e8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View File

@ -5,4 +5,4 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/ruff-action@v3
- uses: astral-sh/ruff-action@9828f49eb4cadf267b40eaa330295c412c68c1f9 # v3.2.2

View File

@ -1,7 +1,8 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
"config:base",
"helpers:pinGitHubActionDigests"
],
"pre-commit": {
"enabled": true