Skip to content

GitHub Action for Self-Hosted Renovate

License

Notifications You must be signed in to change notification settings

bfra-me/renovate-action

Repository files navigation

transparent Renovate Action transparent

GitHub Release Renovate GitHub Workflow Main Status OpenSSF Scorecard

 

This action runs a self-hosted Renovate bot to keep your dependencies up-to-date.

Usage

Include the following workflow in your repository:

# .github/workflows/renovate.yaml
---
name: Renovate

'on':
  push:
    branches:
      - main
      # Remove this filter if Renovate is configured to automerge via PR
      - 'renovate/**'
  pull_request:
  workflow_dispatch:
  schedule:
    - cron: '0 */6 * * *' # Run every 6 hours

jobs:
  renovate:
    name: Renovate
    runs-on: ubuntu-latest
    steps:
      - uses: bfra-me/renovate-action@v5
        with:
          dry-run: ${{ github.event_name == 'pull_request' }}
          renovate-app-id: ${{ secrets.APPLICATION_ID }}
          renovate-app-private-key: ${{ secrets.APPLICATION_PRIVATE_KEY }}

License

MIT