39 lines
1.2 KiB
YAML
39 lines
1.2 KiB
YAML
name: renovate
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: '0 0 * * 0'
|
|
|
|
jobs:
|
|
renovate:
|
|
runs-on: ubuntu-latest
|
|
container: ghcr.io/renovatebot/renovate:latest@sha256:46b57bb9816dec6409e7be57e0e5f7b26d214281044f5aedd3b160be178475e2
|
|
steps:
|
|
- uses: https://gitea.com/actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
|
|
|
|
- name: Set up Node.js
|
|
uses: https://gitea.com/actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
|
|
with:
|
|
node-version: 20
|
|
|
|
- name: Install uv manually
|
|
run: |
|
|
curl -LsSf https://astral.sh/uv/install.sh | sh
|
|
. $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 }}
|
|
RENOVATE_GITHUB_COM_TOKEN: ${{ secrets.RENOVATE_GITHUB_COM_TOKEN }}
|