Merge pull request 'ci(renovate): enable Renovate on Gitea with automerge' (#25) from feat/add_renovate into main
release-please / release-please (push) Successful in 5s
release-please / release-please (push) Successful in 5s
Reviewed-on: #25
This commit was merged in pull request #25.
This commit is contained in:
commit
a129e89aec
2 files changed
+45
No files matched your search
@@ -0,0 +1,41 @@
|
|||||||
|
name: Renovate
|
||||||
|
|
||||||
|
# Renovate is not hosted for Gitea, so this repository runs it itself.
|
||||||
|
# The bot opens dependency PRs through the API; the PR pipeline checks them
|
||||||
|
# (a branch protection rule should require those checks before automerge).
|
||||||
|
#
|
||||||
|
# Manual setup: create a bot account with its full name and email set, give
|
||||||
|
# it write access to this repository, and store a token with
|
||||||
|
# repository read/write, issue read/write, user read and organization read
|
||||||
|
# as the RENOVATE_TOKEN Actions secret.
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
# Daily at 04:00 UTC. Gitea only schedules workflows that exist on the
|
||||||
|
# default branch.
|
||||||
|
- cron: "0 4 * * *"
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: renovate
|
||||||
|
cancel-in-progress: false
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
renovate:
|
||||||
|
name: Run Renovate
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 30
|
||||||
|
# Pinned and multi-arch (the runner is arm64). The image installs the
|
||||||
|
# Node-based toolchain it needs on demand.
|
||||||
|
container: renovate/renovate:44.198.2
|
||||||
|
steps:
|
||||||
|
- name: Run Renovate
|
||||||
|
env:
|
||||||
|
RENOVATE_PLATFORM: gitea
|
||||||
|
# API root, not the web root. Renovate reads renovate.json from the
|
||||||
|
# default branch through this endpoint.
|
||||||
|
RENOVATE_ENDPOINT: https://git.noelsabia.dev/api/v1
|
||||||
|
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
|
||||||
|
# This workflow lives in the repository it updates, so scope the bot
|
||||||
|
# to it instead of every repository its account can see.
|
||||||
|
RENOVATE_REPOSITORIES: CV_Website/CV_Site_Nuxt
|
||||||
|
run: renovate
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
|
"automerge": true
|
||||||
|
}
|
||||||
Reference in new issue
Block a user