Skip to content

chore(deps): update renovatebot/github-action action to v41 (#548) #1725

chore(deps): update renovatebot/github-action action to v41 (#548)

chore(deps): update renovatebot/github-action action to v41 (#548) #1725

Workflow file for this run

---
name: renovate
on:
workflow_dispatch:
inputs:
dryRun:
type: boolean
description: Dry-Run
logLevel:
type: choice
description: Log-Level
default: debug
options:
- info
- debug
- trace
push:
branches:
- main
- "!renovate/*"
schedule:
- cron: 0 0-3 * * 0
env:
# https://docs.renovatebot.com/troubleshooting/#log-debug-levels
LOG_LEVEL: ${{ inputs.logLevel || 'debug' }}
# https://docs.renovatebot.com/self-hosted-configuration/#repositories
RENOVATE_REPOSITORIES: ${{ github.repository }}
# https://docs.renovatebot.com/self-hosted-configuration/#username
RENOVATE_USERNAME: ${{ github.repository_owner }}
# https://docs.renovatebot.com/configuration-options/#platformcommit
RENOVATE_PLATFORM_COMMIT: "true"
# https://docs.renovatebot.com/self-hosted-configuration/#dryrun
# Run renovate in dry-run mode if executed in branches other than main - prevents versions in PRs/branches from being updated
RENOVATE_DRY_RUN: ${{ inputs.dryRun || ( github.head_ref || github.ref_name ) != 'main' || false }}
# Renovate Automerge
RENOVATE_AUTOMERGE_TYPE: branch
RENOVATE_AUTOMERGE: "true"
permissions: read-all
jobs:
renovate:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
permissions: write-all
steps:
- name: Checkout
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- uses: actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0
id: app-token
with:
app-id: ${{ secrets.MY_RENOVATE_GITHUB_APP_ID }}
private-key: ${{ secrets.MY_RENOVATE_GITHUB_PRIVATE_KEY }}
- name: 💡 Self-hosted Renovate
uses: renovatebot/github-action@67a664fc9b4481b33a3eff6ee9edfb7a7b9dfa1e # v41.0.2
with:
token: ${{ steps.app-token.outputs.token }}