Skip to content

Renovate Dashboard #18546

Renovate Dashboard

Renovate Dashboard #18546

Workflow file for this run

---
# Renovate this repository if this workflow file or the Renovate configuration file is changed.
name: Renovate
'on':
issues:
types: [edited]
pull_request:
types: [edited]
push:
workflow_dispatch:
inputs:
print_config:
description: Log the fully-resolved Renovate config for each repository, plus fully-resolved presets.
required: false
type: boolean
default: false
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: false
permissions: {}
jobs:
should-renovate:
name: Check if Renovate should run
if: >-
(github.event_name != 'issues' && github.event_name != 'pull_request') ||
(
contains(join(github.event.*.body, ''), '- [x] <!-- approve-all-pending-prs -->') ||
contains(join(github.event.*.body, ''), '- [x] <!-- approve-branch=') ||
contains(join(github.event.*.body, ''), '- [x] <!-- approvePr-branch=') ||
contains(join(github.event.*.body, ''), '- [x] <!-- create-all-rate-limited-prs -->') ||
contains(join(github.event.*.body, ''), '- [x] <!-- manual job -->') ||
contains(join(github.event.*.body, ''), '- [x] <!-- other-branch=') ||
contains(join(github.event.*.body, ''), '- [x] <!-- rebase-all-open-prs -->') ||
contains(join(github.event.*.body, ''), '- [x] <!-- rebase-branch=') ||
contains(join(github.event.*.body, ''), '- [x] <!-- rebase-check -->') ||
contains(join(github.event.*.body, ''), '- [x] <!-- recreate-branch=') ||
contains(join(github.event.*.body, ''), '- [x] <!-- retry-branch=') ||
contains(join(github.event.*.body, ''), '- [x] <!-- unlimit-branch=') ||
contains(join(github.event.*.body, ''), '- [x] <!-- unschedule-branch=')
)
outputs:
dry-run: ${{ steps.create-output.outputs.dry-run }}
renovate: ${{ steps.create-output.outputs.renovate }}
runs-on: ubuntu-latest
steps:
- if: github.event_name == 'push'
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- if: github.event_name == 'push'
uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2.11.1
id: filter
with:
filters: |
changes:
- '.github/workflows/renovate.yaml'
- '.github/renovate.json5'
- id: create-output
if: github.event_name != 'push' || steps.filter.outputs.changes == 'true'
run: |
echo 'renovate=true' >> $GITHUB_OUTPUT
echo "dry-run=${{ !contains('["main", "renovate/reconfigure"]', github.ref_name) }}" >> $GITHUB_OUTPUT
renovate:
if: needs.should-renovate.outputs.renovate == 'true'
name: Renovate
needs: should-renovate
runs-on: ubuntu-latest
steps:
- name: Renovate
uses: bfra-me/renovate-action@b667ffe6681eeec39fc24d2125879a98871686d2 # v2.2.2
with:
branch: ${{ github.ref != 'refs/heads/main' && github.ref_name || '' }}
dry_run: ${{ needs.should-renovate.outputs.dry-run }}
print_config: ${{ inputs.print_config || 'false' }}
renovate_app_id: ${{ secrets.APPLICATION_ID }}
renovate_app_pem: ${{ secrets.APPLICATION_PRIVATE_KEY }}
renovate_app_slug: ${{ github.repository_owner }}