diff --git a/.github/renovate.json5 b/.github/renovate.json5 index f26f285c2..4dff3b62e 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -22,6 +22,17 @@ enabled: true, }, packageRules: [ + // Pin GitHub Actions to immutable SHAs. + { + matchDepTypes: ["action"], + pinDigests: true, + }, + // Annotate GitHub Actions SHAs with a SemVer version. + { + extends: ["helpers:pinGitHubActionDigests"], + extractVersion: "^(?v?\\d+\\.\\d+\\.\\d+)$", + versioning: "regex:^v?(?\\d+)(\\.(?\\d+)\\.(?\\d+))?$", + }, { // Disable updates of `zip-rs`; intentionally pinned for now due to ownership change // See: https://github.com/astral-sh/uv/issues/3642