Run Renovate against all Repositories #12
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: Run Renovate against all Repositories | |
on: | |
workflow_dispatch: | |
inputs: | |
dry-run: | |
type: choice | |
description: What type of run to perform? | |
required: true | |
default: full | |
options: | |
- "null" | |
- extract | |
- lookup | |
- full | |
env: | |
# Look at https://hub.docker.com/r/renovate/renovate/tags and identify new versions if an | |
# update is required | |
RENOVATE_VERSION: sha256:3e59ae8e4251678f7a0ef5c0abc4e0abf643b5b10bcbbb36fc51c4427533f4d4 | |
jobs: | |
renovate: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Self-hosted Renovate | |
run: docker run --rm --volume "${{ github.workspace }}/renovate/config.js:/usr/src/app/config.js" --env RENOVATE_TOKEN="${{ secrets.STACKY_RENOVATE_TOKEN }}" --env LOG_LEVEL=debug --env RENOVATE_DRY_RUN=${{ github.event.inputs.dry-run }} renovate/renovate@$RENOVATE_VERSION |