This repository has been archived by the owner on Jul 2, 2024. It is now read-only.
chore(deps): update actions/setup-node action to v4.0.2 #14
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: | |
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,2,4 * * 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 }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- uses: actions/create-github-app-token@86576b355dd19da0519e0bdb63d8edb5bcf76a25 # v1.7.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@42c1d3cb1d1ca891765626ba71cdff5e757258de # v40.0.2 | |
with: | |
token: "${{ steps.app-token.outputs.token }}" |