Renovate #5801
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
# https://github.com/renovatebot/github-action?tab=readme-ov-file#example-with-github-app | |
name: Renovate | |
on: | |
schedule: | |
# The "*" (#42, asterisk) character has special semantics in YAML, so this | |
# string has to be quoted. | |
- cron: '0/15 * * * *' | |
workflow_dispatch: | |
jobs: | |
renovate: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get token | |
id: get_token | |
uses: actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1 | |
with: | |
# App being used: https://github.com/enterprises/glueops/settings/apps/public-glueops-renovatebot | |
# App Permissions: https://docs.renovatebot.com/modules/platform/github/#running-as-a-github-app | |
private-key: ${{ secrets.private_key }} | |
app-id: ${{ secrets.app_id }} | |
owner: ${{ github.repository_owner }} | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Self-hosted Renovate | |
uses: renovatebot/github-action@e3a862510f27d57a380efb11f0b52ad7e8dbf213 # v41.0.6 | |
with: | |
token: '${{ steps.get_token.outputs.token }}' | |
env: | |
RENOVATE_PLATFORM: "github" | |
RENOVATE_AUTODISCOVER: "true" | |
RENOVATE_ALLOW_PLUGINS: "true" | |
LOG_LEVEL: "INFO" | |
RENOVATE_DRY_RUN: "null" #set to "full" for dryrun and "null" to apply | |
RENOVATE_AUTODISCOVER_FILTER: "['${{ github.repository_owner }}/*']" | |
RENOVATE_REQUIRE_CONFIG: "ignored" | |
RENOVATE_FORCE: '{"force": {"schedule": ["at any time"]},"prConcurrentLimit": 0,"prHourlyLimit": 0,"extends": ["github>GlueOps/renovatebot-configs//defaults#v0.0.2"]}' | |
RENOVATE_IGNORE_PR_AUTHOR: "true" | |