diff --git a/.github/renovate.json b/.github/renovate.json index d77b639d..ff5961f8 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -117,13 +117,45 @@ { "customType": "regex", "description": "Track GO_VERSION in Actions workflows", - "fileMatch": ["^\\.github/workflows/.*\\.yml$"], + "managerFilePatterns": ["/^\\.github/workflows/.*\\.yml$/"], "matchStrings": [ "GO_VERSION: ['\"]?(?[\\d\\.]+)['\"]?" ], "depNameTemplate": "golang/go", "datasourceTemplate": "golang-version", "versioningTemplate": "semver" + }, + { + "customType": "regex", + "description": "Track Syft version in workflows and scripts", + "managerFilePatterns": [ + "/^\\.github/workflows/nightly-build\\.yml$/", + "/^\\.github/skills/security-scan-docker-image-scripts/run\\.sh$/" + ], + "matchStrings": [ + "SYFT_VERSION=\\\"v(?[^\\\"\\s]+)\\\"", + "set_default_env \\\"SYFT_VERSION\\\" \\\"v(?[^\\\"]+)\\\"" + ], + "depNameTemplate": "anchore/syft", + "datasourceTemplate": "github-releases", + "versioningTemplate": "semver", + "extractVersionTemplate": "^v(?.*)$" + }, + { + "customType": "regex", + "description": "Track Grype version in workflows and scripts", + "managerFilePatterns": [ + "/^\\.github/workflows/supply-chain-pr\\.yml$/", + "/^\\.github/skills/security-scan-docker-image-scripts/run\\.sh$/" + ], + "matchStrings": [ + "anchore/grype/main/install\\.sh \\| sh -s -- -b /usr/local/bin v(?[0-9]+\\.[0-9]+\\.[0-9]+)", + "set_default_env \\\"GRYPE_VERSION\\\" \\\"v(?[^\\\"]+)\\\"" + ], + "depNameTemplate": "anchore/grype", + "datasourceTemplate": "github-releases", + "versioningTemplate": "semver", + "extractVersionTemplate": "^v(?.*)$" } ],