From 30d6e732266cb2d5e2d4892c4cd11ec6e011a893 Mon Sep 17 00:00:00 2001 From: Shaun Arman Date: Sat, 6 Jun 2026 20:48:46 -0500 Subject: [PATCH] fix(ci): replace JS-based Renovate action with direct container invocation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The runner environment does not have Node.js in PATH, causing actions/checkout@v4 and renovatebot/github-action@v41.0.0 (both JS actions) to fail at startup. Use renovate/renovate:latest as the job container and invoke the renovate binary directly via run:, consistent with how all other workflows in this repo handle checkout and tooling. The Checkout step was also unnecessary — Renovate manages its own git operations. --- .gitea/workflows/renovate.yaml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/.gitea/workflows/renovate.yaml b/.gitea/workflows/renovate.yaml index 49a47f5e..f11691c7 100644 --- a/.gitea/workflows/renovate.yaml +++ b/.gitea/workflows/renovate.yaml @@ -8,17 +8,15 @@ on: jobs: renovate: runs-on: ubuntu-latest + container: + image: renovate/renovate:latest steps: - - name: Checkout - uses: actions/checkout@v4 - with: - ref: ${{ github.ref_name }} - - - name: Self-hosted Renovate - uses: renovatebot/github-action@v41.0.0 - with: - token: ${{ secrets.RENOVATE_TOKEN }} + - name: Run Renovate + run: renovate env: - RENOVATE_ENDPOINT: https://gogs.tftsr.com/api/v3 + RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }} RENOVATE_PLATFORM: gitea + RENOVATE_ENDPOINT: https://gogs.tftsr.com/api/v3 + RENOVATE_AUTODISCOVER: 'false' + RENOVATE_REPOSITORIES: '["sarman/tftsr-devops_investigation"]' RENOVATE_AUTOMERGE: 'false'