Skip to content

Renovate

Renovate #1

Workflow file for this run

name: Renovate
on:
schedule:
- cron: '0 2 * * *' # Runs daily at 2 AM UTC
workflow_dispatch: # Allow manual triggering
jobs:
renovate:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0 # Renovate needs to access full git history
- name: Set up SSH key
env:
SSH_DEPLOY_KEY: ${{ secrets.RENOVATE_DEPLOY_KEY }}
run: |
mkdir -p ~/.ssh
echo "${SSH_DEPLOY_KEY}" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
ssh-keyscan github.com >> ~/.ssh/known_hosts
- name: Run Renovate
uses: renovatebot/github-action@v41 # Use the latest version here
with:
ssh: true # Enable SSH for pushing
env:
RENOVATE_CONFIG_FILE: .github/renovate.json # Path to your Renovate config file (optional)