diff --git a/.gitea/workflows/renovate.yaml b/.gitea/workflows/renovate.yaml index a4e4b00..9690b34 100644 --- a/.gitea/workflows/renovate.yaml +++ b/.gitea/workflows/renovate.yaml @@ -8,15 +8,15 @@ on: jobs: renovate: runs-on: ubuntu-latest + # Official image instead of `npm install -g renovate`: no per-run + # install, and Node is whatever this Renovate release ships with (npm + # silently picks an older Renovate when the runtime Node doesn't match + # its engines.node). Tools like Ruby/bundler for lockfile updates get + # installed on demand by the image's containerbase. Renovate bumps + # this tag itself. + container: + image: ghcr.io/renovatebot/renovate:44 steps: - - name: Setup Node - uses: actions/setup-node@v7 - with: - node-version: "26" - - - name: Install Renovate - run: npm install -g renovate - - name: Run Renovate run: renovate env: @@ -25,4 +25,6 @@ jobs: RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }} RENOVATE_REPOSITORIES: "${{ gitea.repository }}" RENOVATE_ONBOARDING: "false" + RENOVATE_BINARY_SOURCE: install + # Secret named GH_COM_TOKEN: Gitea reserves the GITHUB_ prefix. GITHUB_COM_TOKEN: ${{ secrets.GH_COM_TOKEN }}