Skip to content

Renovate

Renovate #10

Workflow file for this run

name: Run Renovate
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Run at midnight UTC Monday morning
schedule:
- cron: '0 0 * * 1'
# Push on main branch if needed for rebasing from PRs.
# push:
# branches: main
# Run when there is an update to a PR. This will cleanup branches, and rebase PRs after merges.
# Couple with the "IF" field on the job to limit to updates of the 'renovate/' branches.
pull_request_target:
types:
- closed
- edited
- reopened
jobs:
dependency_scan:
runs-on: ubuntu-latest
if: github.head_ref == '' || startsWith(github.head_ref, 'renovate/')
steps:
- name: Checkout
uses: actions/[email protected]
- name: Self-hosted Renovate
uses: renovatebot/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RENOVATE_AUTO_APPROVE: true
with:
# Limit Number of active renovate PRs. Default: unlimited
# pr-concurrency: 3
# Limit number of PRs per hour to create. Helpful to slow roll renovate into a repo. Default: unlimited
# pr-hour-limit: 2
# Change when any PRs are generated. Default every Monday
# Update to Tuesdays
# update-schedule: 'on the second day of the week'
# Always create PRs.
update-schedule: ''
# Automatically adds 1 approving PR to any generated renovate PRs.
# Can be useful when 2 approving reviews are required.
pr-auto-approve: true
# User and token used to create approving review.
# Required when pr-auto-approve is true.
# github-approver-token: ${{ secrets.GITHUB_APPROVER_TOKEN }}
# github-approver-user: approver-username
package-rules: |-
{ "matchPackagePatterns":[".*"], "matchUpdateTypes":["minor","patch"], "automerge":true }