From abf9334bd01718ede277e89d2725e405b10b7992 Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Mon, 22 Jan 2024 18:43:12 -0500 Subject: [PATCH] Add config, create woodpeckerci workflow --- .woodpecker/.renovate.yml | 25 +++++++++++++++++++++++++ config.js | 14 ++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 .woodpecker/.renovate.yml create mode 100644 config.js diff --git a/.woodpecker/.renovate.yml b/.woodpecker/.renovate.yml new file mode 100644 index 0000000..46283c5 --- /dev/null +++ b/.woodpecker/.renovate.yml @@ -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 \ No newline at end of file diff --git a/config.js b/config.js new file mode 100644 index 0000000..9c96b98 --- /dev/null +++ b/config.js @@ -0,0 +1,14 @@ +module.exports = { + platform: "gitea", + endpoint: "https://git.seanomik.net/api/v1/", + gitAuthor: "Renovate Bot ", + username: "Renovate", + autodiscover: true, + onboardingConfig: { + $schema: "https://docs.renovatebot.com/renovate-schema.json", + extends: ["config:base"], + }, + optimizeForDisabled: true, + persistRepoData: true, + repositories: [], +};