-
I'm trying to include environment variables as explained in the README. As explained in #833, we can't pass environmental variables to a My current config looks something like this: {
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base",
"github>chrede88/home-ops//.github/renovate/grafanadashboards.json",
"github>chrede88/home-ops//.github/renovate/groups.json"
],
"dependencyDashboardTitle": "Renovate Dashboard 🤖",
"commitMessagePrefix": "🤖",
"commitMessageTopic": "{{depName}}",
"commitMessageExtra": "to {{newVersion}}",
"commitMessageSuffix": "",
"prConcurrentLimit": 0,
"prHourlyLimit": 0,
"reviewers": ["chrede88"],
"timezone": "Europe/Zurich",
"onboarding": false,
"ignorePaths": ["/docs/*", "/network/*"],
"flux": {
"fileMatch": ["(^|/)cluster/kubernetes/.+\\.ya?ml"]
},
"helm-values": {
"fileMatch": ["(^|/)cluster/kubernetes/.+\\.ya?ml$"]
},
"kubernetes": {
"fileMatch": ["(^|/)cluster/kubernetes/.+\\.ya?ml$"]
},
"pre-commit": {
"enabled": true
},
"packageRules": [
{
"matchUpdateTypes": ["major"],
"labels": ["type/major"]
},
{
"matchUpdateTypes": ["minor"],
"labels": ["type/minor"]
},
{
"matchUpdateTypes": ["patch"],
"labels": ["type/patch"]
},
{
"matchDatasources": ["helm"],
"commitMessageTopic": "chart {{depName}}"
},
{
"matchDatasources": ["docker"],
"commitMessageTopic": "image {{depName}}"
}
]
} I can pass hostRules: [
{
matchHost: "ghcr.io/chrede88/",
hostType: "docker",
username: process.env.RENOVATE_BOT_NAME,
password: process.env.RENOVATE_GITHUB_TOKEN,
},
]; |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
convert you https://github.com/renovatebot/github-action?tab=readme-ov-file#configurationfile github-action/.github/workflows/build.yml Line 68 in 56e961b github-action/.github/workflows/build.yml Line 110 in 56e961b |
Beta Was this translation helpful? Give feedback.
convert you
config.json
toconfig.js
https://github.com/renovatebot/github-action?tab=readme-ov-file#configurationfile
github-action/.github/workflows/build.yml
Line 68 in 56e961b
github-action/.github/workflows/build.yml
Line 110 in 56e961b