From 2f615b31c1b1dd79ca9a41e25c770503ad377187 Mon Sep 17 00:00:00 2001 From: OCram85 Date: Mon, 28 Nov 2022 20:31:02 +0100 Subject: [PATCH] Adds renovate-bot support (#24) #### :book: Summary #### :bookmark_tabs: Test Plan > :bulb: Select your test plan for the code changes. - [x] Tested via CI pipeline - [ ] Custom test - [ ] No test plan ##### Details / Justification #### :books: Additional Notes Co-authored-by: OCram85 Reviewed-on: https://gitea.ocram85.com/OCram85/Blog/pulls/24 --- .changelog.yml | 38 ++++++++++++++++++++++++++++++++++++++ .woodpecker/.renovate.yml | 21 +++++++++++++++++++++ renovate.json | 12 ++++++++++++ 3 files changed, 71 insertions(+) create mode 100644 .changelog.yml create mode 100644 .woodpecker/.renovate.yml create mode 100644 renovate.json diff --git a/.changelog.yml b/.changelog.yml new file mode 100644 index 0000000..e1bc7b9 --- /dev/null +++ b/.changelog.yml @@ -0,0 +1,38 @@ +# The full repository name +repo: OCram85/Blog + +# Service type (gitea or github) +service: gitea + +# Base URL for Gitea instance if using gitea service type (optional) +# Default: https://gitea.com +base-url: https://gitea.ocram85.com + +# Changelog groups and which labeled PRs to add to each group +groups: + - name: 🐛 BUGFIXES + labels: + - bug + - name: ✨ FEATURES + labels: + - feature + - name: 🛠️ ENHANCEMENTS + labels: + - enhancement + - name: 📦 BUILD + labels: + - pipeline + - name: 🤖 DEPENDENCIES + labels: + - renovate + - name: 📚 DOCS + labels: + - docs + - name: ⚙️ META + labels: + - meta + - name: 🔖 MISC + default: true + +# regex indicating which labels to skip for the changelog +skip-labels: skip-changelog|backport\/.+ diff --git a/.woodpecker/.renovate.yml b/.woodpecker/.renovate.yml new file mode 100644 index 0000000..68df3d8 --- /dev/null +++ b/.woodpecker/.renovate.yml @@ -0,0 +1,21 @@ +pipeline: + DockerBaseImage: + image: renovate/renovate:34.22-slim + commands: + - "renovate" + secrets: + - RENOVATE_TOKEN + environment: + #LOG_LEVEL: debug + RENOVATE_PLATFORM: "gitea" + RENOVATE_ENDPOINT: "https://gitea.ocram85.com" + RENOVATE_REPOSITORIES: "${CI_REPO}" + RENOVATE_LABELS: "renovate" + #RENOVATE_DRY_RUN: "full" + RENOVATE_TOKEN: "${RENOVATE_TOKEN}" + when: + event: + - push + branch: + - master + - updDeps diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..97575a5 --- /dev/null +++ b/renovate.json @@ -0,0 +1,12 @@ +{ + "dependencyDashboard": true, + "docker": { + "enabled": true + }, + "docker-compose": { + "enabled": true + }, + "woodpecker": { + "enabled": true + } +}