Runs Renovate on a schedule #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Runs Renovate on a schedule | |
on: | |
schedule: | |
# Run at 9am-3pm on weekdays | |
- cron: 0 9-15 * * 1-5 | |
jobs: | |
renovate: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: tibdex/github-app-token@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/[email protected] | |
with: | |
configurationFile: .github/renovate-config.json | |
token: ${{ steps.get_installation_token.outputs.token }} | |