cron-renovate #10
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: cron-renovate | |
| on: | |
| schedule: | |
| - cron: "0 1 * * *" # daily at 01:00 UTC | |
| workflow_dispatch: | |
| concurrency: | |
| group: cron-renovate | |
| env: | |
| RENOVATE_VERSION: 43.141.5 # renovate: datasource=docker depName=ghcr.io/renovatebot/renovate | |
| permissions: | |
| contents: read | |
| jobs: | |
| cron-renovate: | |
| runs-on: ubuntu-latest | |
| if: github.repository == 'go-gitea/gitea' # prevent running on forks | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - uses: renovatebot/github-action@f66d8679fcfcfa051abde6e7a623007173bf5164 # v46.1.12 | |
| with: | |
| renovate-version: ${{ env.RENOVATE_VERSION }} | |
| configurationFile: renovate.json5 | |
| token: ${{ secrets.RENOVATE_TOKEN }} | |
| env: | |
| RENOVATE_BINARY_SOURCE: install # auto-install go/node toolchains needed by post-upgrade tasks. | |
| RENOVATE_ALLOWED_POST_UPGRADE_COMMANDS: '["^make (tidy|svg)$"]' | |
| RENOVATE_REPOSITORIES: '["go-gitea/gitea"]' |