Add config, create woodpeckerci workflow

This commit is contained in:
SeanOMik 2024-01-22 18:43:12 -05:00
parent 2d7dc4d1d9
commit abf9334bd0
Signed by: SeanOMik
GPG Key ID: FEC9E2FC15235964
2 changed files with 39 additions and 0 deletions

25
.woodpecker/.renovate.yml Normal file
View File

@ -0,0 +1,25 @@
variables:
- &reno_image 'renovate/renovate:37.146.0'
when:
event: [push, manual, cron]
cron: "4hours"
steps:
- name: Renovate - Validate config
image: *reno_image
# https://github.com/renovatebot/renovate/discussions/15049
commands:
- unset GIT_COMMITTER_NAME GIT_COMMITTER_EMAIL GIT_AUTHOR_NAME GIT_AUTHOR_EMAIL
- renovate-config-validator
- name: Renovate
image: *reno_image
# https://github.com/renovatebot/renovate/discussions/15049
commands:
- unset GIT_COMMITTER_NAME GIT_COMMITTER_EMAIL GIT_AUTHOR_NAME GIT_AUTHOR_EMAIL
- renovate
environment:
RENOVATE_TOKEN:
from_secret: renovate_token

14
config.js Normal file
View File

@ -0,0 +1,14 @@
module.exports = {
platform: "gitea",
endpoint: "https://git.seanomik.net/api/v1/",
gitAuthor: "Renovate Bot <renovatebot@seanomik.net>",
username: "Renovate",
autodiscover: true,
onboardingConfig: {
$schema: "https://docs.renovatebot.com/renovate-schema.json",
extends: ["config:base"],
},
optimizeForDisabled: true,
persistRepoData: true,
repositories: [],
};