fix(ci): replace JS-based Renovate action with direct container invocation
Some checks failed
PR Review Automation / review (pull_request) Successful in 2m55s
Test / frontend-typecheck (pull_request) Successful in 1m38s
Test / frontend-tests (pull_request) Successful in 1m39s
Test / rust-tests (pull_request) Has been cancelled
Test / rust-fmt-check (pull_request) Has been cancelled
Test / rust-clippy (pull_request) Has been cancelled

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.
This commit is contained in:
Shaun Arman 2026-06-06 20:48:46 -05:00
parent f67821c0b8
commit 30d6e73226

View File

@ -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'