From 1178527eb1b715963bae4b477534f668b7fc4f07 Mon Sep 17 00:00:00 2001 From: tosuke <13393900+tosuke@users.noreply.github.com> Date: Mon, 1 Apr 2024 22:42:48 +0900 Subject: [PATCH] chore: add renovate --- .github/renovate.json | 12 ++++++++++++ .github/workflows/otelcol.yaml | 4 +++- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 .github/renovate.json diff --git a/.github/renovate.json b/.github/renovate.json new file mode 100644 index 0000000..015ba6d --- /dev/null +++ b/.github/renovate.json @@ -0,0 +1,12 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:base", + "helpers:pinGitHubActionDigests", + "docker:pinDigests", + "regexManagers:githubActionsVersions" + ], + "dockerfile": { + "fileMatch": ["(^|/)Earthfile[^/]*$"] + } +} diff --git a/.github/workflows/otelcol.yaml b/.github/workflows/otelcol.yaml index 101cce0..3d48332 100644 --- a/.github/workflows/otelcol.yaml +++ b/.github/workflows/otelcol.yaml @@ -18,6 +18,8 @@ jobs: contents: read packages: write env: + # renovate: datasource=github-releases depName=earthly/earthly versioning=semver + EARTHLY_VERSION: v0.8.0 FORCE_COLOR: 1 EARTHLY_CI: true EARTHLY_REMOTE_CACHE: ghcr.io/${{ github.repository_owner }}/otelcol:cache @@ -25,7 +27,7 @@ jobs: steps: - uses: earthly/actions-setup@v1 with: - version: v0.8.0 + version: ${{ env.EARTHLY_VERSION }} - uses: docker/setup-qemu-action@v3 - name: Login to ghcr.io uses: docker/login-action@v2