38 lines
1002 B
YAML
38 lines
1002 B
YAML
name: renovate
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: '0 0 * * 0'
|
|
|
|
jobs:
|
|
renovate:
|
|
runs-on: ubuntu-latest
|
|
container: ghcr.io/renovatebot/renovate:latest
|
|
steps:
|
|
- uses: https://gitea.com/actions/checkout@v4
|
|
|
|
- name: Set up Node.js
|
|
uses: https://gitea.com/actions/setup-node@v4
|
|
with:
|
|
node-version: 20
|
|
|
|
- name: Install uv manually
|
|
run: |
|
|
curl -LsSf https://astral.sh/uv/install.sh | sh
|
|
source $HOME/.local/bin/env
|
|
uv --version
|
|
|
|
- name: Download external renovate config
|
|
run: |
|
|
mkdir -p /tmp/renovate-config
|
|
curl -fsSL "https://git.linux-gaming.ru/Linux-Gaming/renovate-config/raw/branch/main/config.js" \
|
|
-o /tmp/renovate-config/config.js
|
|
|
|
- name: Run Renovate
|
|
run: renovate
|
|
env:
|
|
RENOVATE_CONFIG_FILE: "/tmp/renovate-config/config.js"
|
|
LOG_LEVEL: "debug"
|
|
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
|