Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Commit

Permalink
ci: enable Renovate to manage GitHub Actions tool versions (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexashley authored Mar 7, 2024
1 parent b3677cc commit 79a3d91
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .github/actions/config/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,33 +9,41 @@ inputs:
outputs:
attestorVersion:
description: "liatrio/gh-trusted-builds-attestations version"
# renovate: datasource=github-releases depName=liatrio/gh-trusted-builds-attestations
value: "1.1.5"
cosignVersion:
description: "Sigstore cosign version"
# renovate: datasource=github-releases depName=sigstore/cosign
value: "v2.2.3"
craneVersion:
description: "google/go-containerregistry crane version"
# renovate: datasource=github-releases depName=google/go-containerregistry
value: "v0.15.2"
fulcioUrl:
description: "Sigstore Fulcio URL. Defaults to the production public good instance"
value: "${{ steps.config.outputs.fulcioUrl }}"
helmVersion:
description: "Helm version"
# renovate: datasource=github-releases depName=helm/helm
value: "v3.10.3"
k3dVersion:
description: "k3d version"
# renovate: datasource=github-releases depName=k3d-io/k3d
value: "v5.4.9"
policyControllerVersion:
description: "Policy controller Helm chart version"
# renovate: datasource=helm depName=policy-controller
value: "0.5.8"
rekorUrl:
description: "Sigstore Rekor URL. Defaults to the production public good instance"
value: "${{ steps.config.outputs.rekorUrl }}"
slsaGeneratorVersion:
description: "SLSA container provenance generator version"
# renovate: datasource=github-releases depName=slsa-framework/slsa-github-generator
value: "1.6.0"
syftVersion:
description: "Anchore syft version"
# renovate: datasource=github-releases depName=anchore/syft
value: "v0.82.0"
tufMirror:
description: "cosign TUF root mirror URL"
Expand Down
18 changes: 17 additions & 1 deletion renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,21 @@
":semanticCommitScopeDisabled",
"helpers:pinGitHubActionDigests"
],
"enabledManagers": ["github-actions", "npm"]
"packageRules": [
{
"matchDatasources": ["helm"],
"registryUrls": [
"https://sigstore.github.io/helm-charts"
]
}
],
"customManagers": [
{
"customType": "regex",
"fileMatch": [".github/actions/config/action.yaml"],
"matchStrings": [
"# renovate: datasource=(?<datasource>.*?)\\s+depName=(?<depName>.*?)\\s+value:\\s?\"(?<currentValue>.*)\""
]
}
]
}

0 comments on commit 79a3d91

Please sign in to comment.