Skip to content

Renovate

Renovate #263

Workflow file for this run

name: Renovate
on:
pull_request:
push:
branches:
- main
schedule:
- cron: "0 11 * * *" # 3 AM PST = 11 AM UDT
workflow_dispatch:
env:
config: renovate.json
jobs:
renovate:
runs-on: ubuntu-22.04
permissions:
pull-requests: write
steps:
- uses: actions/checkout@v3
# PRs should always use dry run
- name: Dry run for PRs
if: github.event_name == 'pull_request'
run: |
cat <<< $(jq '.+= {"dryRun": "full"}' ${{ env.config }}) > ${{ env.config }}
- name: Self-hosted Renovate
uses: renovatebot/[email protected]
with:
configurationFile: ${{ env.config }}
token: ${{ secrets.RENOVATE_TOKEN }}