29 lines
787 B
YAML
29 lines
787 B
YAML
name: renovate
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "0 0 * * *"
|
|
push:
|
|
branches:
|
|
- renovate
|
|
|
|
jobs:
|
|
renovate:
|
|
runs-on: ubuntu-latest
|
|
container: git.fossy.my.id/renovate-clanker/renovate:latest
|
|
steps:
|
|
- name: Checkout current repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Clone renovate-config and copy config file
|
|
run: |
|
|
git clone https://${{ secrets.RENOVATE_TOKEN }}@git.fossy.my.id/Renovate-Clanker/renovate-config.git /tmp/renovate-config
|
|
cp /tmp/renovate-config/config.js ${{ gitea.workspace }}/config.js
|
|
|
|
- name: Run Renovate
|
|
run: renovate
|
|
env:
|
|
RENOVATE_CONFIG_FILE: ${{ gitea.workspace }}/config.js
|
|
LOG_LEVEL: "debug"
|
|
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
|