Skip to content

Runs Renovate on a schedule #1489

Runs Renovate on a schedule

Runs Renovate on a schedule #1489

name: Runs Renovate on a schedule
on:
schedule:
# Run at 8am-2pm UTC on weekdays
- cron: 0 8-14 * * 1-5
push:
branches:
- main
paths:
- 'renovate-defaults.json'
- '.github/renovate-config.json'
- '.github/workflows/scheduled-renovate.yaml'
jobs:
renovate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2
id: get_installation_token
with:
app_id: ${{ vars.RENOVATE_GH_APP_ID }}
private_key: ${{ secrets.RENOVATE_GH_APP_PRIVATE_KEY }}
- name: Self-hosted Renovate
uses: renovatebot/github-action@2be773c4be8361d8182cc1b750e75bbc75af71b0 # v41.0.7
with:
configurationFile: .github/renovate-config.json
token: ${{ steps.get_installation_token.outputs.token }}