Renovate #864
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: Renovate | |
on: | |
repository_dispatch: | |
types: | |
- renovate | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths: | |
- 'renovate.config.js' | |
- '.github/workflows/renovate.yaml' | |
- 'scripts/**' | |
- 'charts/**' | |
# Run every hour between midnight and 6am, and 6pm and midnight | |
schedule: | |
- cron: "0 0-5,18-23 * * *" | |
jobs: | |
renovate: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get GitHub App Token | |
id: get_token | |
uses: tibdex/github-app-token@v2.1.0 | |
with: | |
app_id: ${{ secrets.APP_ID }} | |
private_key: ${{ secrets.PRIVATE_KEY }} | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Run Self-hosted Renovate | |
uses: renovatebot/github-action@v41.0.2 | |
with: | |
token: ${{ steps.get_token.outputs.token }} | |
configurationFile: renovate.config.js | |
renovate-version: full | |
env: | |
LOG_LEVEL: debug | |
RENOVATE_SELF_HOSTED: true | |
RENOVATE_REPOSITORIES: "[\"digicatapult/helm-charts\"]" |