Renovate #1685
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 # Name of the GitHub Actions workflow | |
on: | |
workflow_dispatch: # This workflow can be manually triggered by a user | |
inputs: # Define inputs for the workflow | |
log-level: # Input named 'log-level' | |
type: choice # Input type: a choice (user can select from options) | |
description: Select log level for Renovate # Description for the input | |
options: # Available options for the input | |
- trace | |
- debug | |
- info | |
- warn | |
- error | |
default: debug # Default value if the user doesn't specify | |
required: false # It's not required to provide this input | |
schedule: # This workflow can also run on a schedule | |
- cron: "0/30 * * * *" # Defines a schedule using a cron expression (every 30 minutes) | |
jobs: | |
renovate: | |
runs-on: ubuntu-latest # This job runs on an Ubuntu environment | |
steps: | |
- name: Checkout # Name of the step, which checks out the code | |
uses: actions/[email protected] # GitHub Actions action for checking out the code | |
- name: Self-hosted Renovate # Name of the step for running Renovate | |
uses: renovatebot/[email protected] # Using a specific version of Renovate action | |
with: | |
token: ${{ secrets.RENOVATE_TOKEN }} # Providing a secret token as an input to Renovate | |
configurationFile: renovate.js # Configuration file for Renovate | |
env: # Setting environment variables for the Renovate step | |
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} # DockerHub username | |
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} # DockerHub token for authentication |