Renovate Update dependencies #51
This file contains hidden or 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 Update dependencies | |
| on: | |
| schedule: | |
| - cron: "20 10 * * *" | |
| pull_request: # limit this to run on PRs that modify Renovate config files | |
| paths: | |
| - ".github/workflows/renovate.yaml" | |
| - "renovate.json" | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - ".github/workflows/renovate.yaml" | |
| - "renovate.json" | |
| jobs: | |
| renovate: | |
| name: Check Dependencies | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| - name: Run Renovate | |
| uses: renovatebot/github-action@v46.2.4 | |
| with: | |
| token: ${{ secrets.RENOVATE_GITHUB_TOKEN }} | |
| configurationFile: renovate.json | |
| env: | |
| RENOVATE_REPOSITORIES: ${{ github.repository }} | |
| LOG_LEVEL: ${{ github.ref_name == 'main' && 'INFO' || 'DEBUG' }} | |
| RENOVATE_BASE_BRANCHES: main | |
| # A pull request run reads its config from the branch but still targets the | |
| # real repository, so it must not create, update or close branches and PRs. | |
| RENOVATE_DRY_RUN: ${{ github.event_name == 'pull_request' && 'full' || '' }} |