From bcd08f92f151a79695fdf1c2098d1aca05957fc4 Mon Sep 17 00:00:00 2001 From: Austin Abro Date: Tue, 12 Mar 2024 14:28:34 +0000 Subject: [PATCH] test rennovate --- .github/actions/install-tools/action.yaml | 7 +++++-- renovate.json | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/actions/install-tools/action.yaml b/.github/actions/install-tools/action.yaml index 5ca3c2a0..9c100362 100644 --- a/.github/actions/install-tools/action.yaml +++ b/.github/actions/install-tools/action.yaml @@ -6,8 +6,11 @@ runs: steps: - uses: anchore/sbom-action/download-syft@b6a39da80722a2cb0ef5d197531764a89b5d48c3 # v0.15.8 - # renovate: datasource=github-tags depName=anchore/grype versioning=semver - - run: "TAG=v0.74.6; curl -sSfL https://raw.githubusercontent.com/anchore/grype/main/install.sh | sh -s -- -b /usr/local/bin $TAG" + - name: install grype + env: + # renovate: datasource=github-tags depName=anchore/grype versioning=semver + VERSION: v0.74.6 + run: "curl -sSfL https://raw.githubusercontent.com/anchore/grype/main/install.sh | sh -s -- -b /usr/local/bin $VERSION" shell: bash - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 diff --git a/renovate.json b/renovate.json index 9028f6e2..0be86a4e 100644 --- a/renovate.json +++ b/renovate.json @@ -18,7 +18,7 @@ ".github/actions/install-tools/action.yaml" ], "matchStrings": [ - "# renovate: datasource=github-tags depName=anchore/grype versioning=semver\n.*TAG=(?v[\\d.]+)" + "# renovate: datasource=github-tags depName=anchore/grype versioning=semver\n\\s*VERSION: (?v[\\d.]+)" ], "datasourceTemplate": "github-tags", "depNameTemplate": "anchore/grype"