33 lines
1018 B
YAML
33 lines
1018 B
YAML
name: cron-renovate
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "23 * * * *" # hourly at :23
|
|
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@693b9ef15eec82123529a37c782242f091365961 # v46.1.14
|
|
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 nolyfill)$"]'
|
|
RENOVATE_REPOSITORIES: '["go-gitea/gitea"]'
|