From f1e863b098d4be57e1267c3b905cb9b25350af3d Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Sun, 13 Apr 2025 18:38:14 +0200 Subject: [PATCH] chore: Configure Renovate (#30) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Welcome to [Renovate](https://github.com/renovatebot/renovate)! This is an onboarding PR to help you understand and configure settings before regular Pull Requests begin. 🚦 To activate Renovate, merge this Pull Request. To disable Renovate, simply close this Pull Request unmerged. --- ### Detected Package Files * `Dockerfile` (dockerfile) * `.gitea/workflows/cd.yaml` (github-actions) * `.gitea/workflows/ci.yaml` (github-actions) * `go.mod` (gomod) ### What to Expect With your current configuration, Renovate will create 5 Pull Requests:
chore(deps): update golang docker tag to v1.24 - Schedule: ["at any time"] - Branch name: `renovate/golang-1.x` - Merge into: `main` - Upgrade golang to `1.24-alpine`
chore(deps): update docker/build-push-action action to v6 - Schedule: ["at any time"] - Branch name: `renovate/docker-build-push-action-6.x` - Merge into: `main` - Upgrade [docker/build-push-action](https://github.com/docker/build-push-action) to `v6`
chore(deps): update docker/login-action action to v3 - Schedule: ["at any time"] - Branch name: `renovate/docker-login-action-3.x` - Merge into: `main` - Upgrade [docker/login-action](https://github.com/docker/login-action) to `v3`
chore(deps): update docker/setup-buildx-action action to v3 - Schedule: ["at any time"] - Branch name: `renovate/docker-setup-buildx-action-3.x` - Merge into: `main` - Upgrade [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) to `v3`
chore(deps): update module github.com/go-co-op/gocron to v2 - Schedule: ["at any time"] - Branch name: `renovate/github.com-go-co-op-gocron-2.x` - Merge into: `main` - Upgrade [github.com/go-co-op/gocron](https://github.com/go-co-op/gocron) to `v2.16.1`
--- ❓ Got questions? Check out Renovate's [Docs](https://docs.renovatebot.com/), particularly the Getting Started section. If you need any further assistance then you can also [request help here](https://github.com/renovatebot/renovate/discussions). --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). Co-authored-by: Timo Behrendt Reviewed-on: https://gitea.t000-n.de/t.behrendt/realDynDNS/pulls/30 Co-authored-by: Renovate Bot Co-committed-by: Renovate Bot --- .gitea/workflows/cd.yaml | 23 +++++++++++++++++++++++ renovate.json | 3 +++ 2 files changed, 26 insertions(+) create mode 100644 renovate.json diff --git a/.gitea/workflows/cd.yaml b/.gitea/workflows/cd.yaml index 084b1b7..166d564 100644 --- a/.gitea/workflows/cd.yaml +++ b/.gitea/workflows/cd.yaml @@ -9,6 +9,27 @@ env: DOCKER_REGISTRY: gitea.t000-n.de jobs: + check-changes: + name: Check changes + runs-on: ubuntu-latest + outputs: + changes: ${{ steps.filter.outputs.code }} + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Get changes + id: filter + uses: dorny/paths-filter@v3 + with: + filters: | + code: + - 'go.mod' + - 'go.sum' + - '**/*.go' + - 'config.example.yaml' + - 'Dockerfile' + - 'Makefile' + test: name: test runs-on: ubuntu-latest @@ -49,6 +70,8 @@ jobs: arch: [amd64, arm64] needs: - test + - check-changes + if: ${{ needs.check-changes.outputs.code == 'true' }} runs-on: - ubuntu-latest - linux_${{ matrix.arch }} diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..7190a60 --- /dev/null +++ b/renovate.json @@ -0,0 +1,3 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json" +}