mirror of
https://github.com/go-gitea/gitea.git
synced 2026-05-23 05:42:33 +09:00
1. only trigger docker-dryrun arm64&riscv64 when dockerfile changes 2. de-duplicate "contents: read" permission for most workflows 3. merge various "lint-*" jobs into one job 4. add missing lint targets to the "lint" (all) target
33 lines
1013 B
YAML
33 lines
1013 B
YAML
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@83ec54fee49ab67d9cd201084c1ff325b4b462e4 # v46.1.10
|
|
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"]'
|