Run Renovate on demand
The Renovate GitHub app updates dependencies on the app's own schedule. To get updates between the app's runs, start the Update dependencies workflow, update-dependencies.yml, by hand. This page is for maintainers of a project created from Scaffold. For what Renovate updates, see Renovate.
The workflow runs Renovate a single time with your renovate.json, and ignores the schedule and the pull request limits for that run. It commits as renovate[bot], the Renovate app's account. It also updates the pull requests the app opened, so the app and the workflow share 1 set of branches. To commit as another author, set the RENOVATE_GIT_AUTHOR repository variable to Name <[email protected]>. Only the app updates the Dependency Dashboard issue.
Before you begin
The workflow pushes branches and opens pull requests with the token in the RENOVATE_TOKEN repository secret. Without that secret, the workflow fails at its first step. The built-in GITHUB_TOKEN can't change files in .github/workflows, and its pull requests start no CI runs.
To add the secret:
- Create a personal access token with the permissions in Renovate's GitHub platform guide.
- Add the token as the
RENOVATE_TOKENsecret under Settings > Secrets and variables > Actions.
Start a run
To run Renovate on demand:
- In your repository on GitHub, click Actions.
- Select the Update dependencies workflow.
- Click Run workflow to open the run options.
- Optional: To list the updates in the job log without pushing anything, select Dry run: report updates without pushing branches or opening pull requests.
- Optional: To troubleshoot a run, select Enable debug logging.
- Click the green Run workflow button.
- After the run finishes, confirm that the Pull requests tab lists the dependency pull requests. On a dry run, the job log lists the updates.