171ec78ec7
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
41 lines
1.0 KiB
YAML
41 lines
1.0 KiB
YAML
name: Renovate
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "0 3 * * *"
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
renovate:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v6.0.2
|
|
|
|
- name: Set up Node.js
|
|
uses: actions/setup-node@v6.2.0
|
|
with:
|
|
node-version: 24
|
|
cache: npm
|
|
|
|
- name: Set up PHP
|
|
uses: shivammathur/setup-php@v2
|
|
with:
|
|
php-version: '8.5'
|
|
tools: composer:v2
|
|
|
|
- name: Install Renovate
|
|
run: |
|
|
npm install --global --no-audit --fund=false \
|
|
--prefix "${{ runner.temp }}/renovate-npm" \
|
|
--cache "${{ runner.temp }}/renovate-npm-cache" \
|
|
renovate
|
|
"${{ runner.temp }}/renovate-npm/bin/renovate" --version
|
|
|
|
- name: Run Renovate
|
|
env:
|
|
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
|
|
RENOVATE_PLATFORM: gitea
|
|
RENOVATE_ENDPOINT: https://git.ktrix.dev/api/v1
|
|
run: |
|
|
"${{ runner.temp }}/renovate-npm/bin/renovate" ${{ gitea.repository }} |