Renovate #12714
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: | |
logLevel: | |
description: 'Log level' | |
type: choice | |
default: debug | |
options: | |
- debug | |
- trace | |
dryRun: | |
description: 'Dry run?' | |
type: choice | |
default: 'no' | |
options: | |
- 'no' | |
- full | |
- lookup | |
- extract | |
schedule: | |
- cron: '0 0/2 * * *' | |
concurrency: | |
group: renovate-${{ github.ref }} | |
jobs: | |
renovate: | |
name: Renovate | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
path: monorepo | |
- run: | | |
mv monorepo /tmp/monorepo | |
sudo chown -R runneradmin:root /tmp/monorepo/ | |
- name: Check rate limit pre-run | |
env: | |
TOKEN: ${{ secrets.RENOVATE_TOKEN }} | |
run: | | |
curl --no-progress-meter --header "Authorization: Bearer $TOKEN" https://api.github.com/rate_limit | |
- uses: renovatebot/[email protected] | |
with: | |
configurationFile: /tmp/monorepo/.github/renovate-config.js | |
token: ${{ secrets.RENOVATE_TOKEN }} | |
mount-docker-socket: true | |
renovate-version: 39.22.0 | |
env: | |
LOG_LEVEL: ${{ github.event.inputs.logLevel || 'debug' }} | |
RENOVATE_DRY_RUN: ${{ github.event.inputs.dryRun == 'no' && 'null' || github.event.inputs.dryRun || 'null' }} | |
- name: Check rate limit post-run | |
env: | |
TOKEN: ${{ secrets.RENOVATE_TOKEN }} | |
run: | | |
echo "Note any difference between this number and the one from the previous step may also include API uses from elsewhere that happened to occur at the same time." | |
curl --no-progress-meter --header "Authorization: Bearer $TOKEN" https://api.github.com/rate_limit |