feat(ci): run renovate bot
This commit is contained in:
parent
618e114b08
commit
359be8cf44
2 changed files with 37 additions and 19 deletions
|
@ -1,11 +1,31 @@
|
|||
version: v0
|
||||
|
||||
runs:
|
||||
- name: Renovate deps
|
||||
when:
|
||||
branch: main
|
||||
tasks:
|
||||
- name: Run renovate
|
||||
runtime:
|
||||
containers:
|
||||
- image: docker.io/renovate/renovate
|
||||
environment:
|
||||
RENOVATE_PLATFORM: gitea
|
||||
RENOVATE_AUTODISCOVER: 'false'
|
||||
RENOVATE_ENDPOINT: https://code.icb4dc0.de/api/v1
|
||||
LOG_LEVEL: info
|
||||
RENOVATE_TOKEN:
|
||||
from_variable: gitea-token
|
||||
GITHUB_COM_TOKEN:
|
||||
from_variable: github-token
|
||||
steps:
|
||||
- run:
|
||||
name: Run bot
|
||||
command: renovate prskr/kreaper
|
||||
- name: Test and lint
|
||||
tasks:
|
||||
- name: Checkout code
|
||||
runtime:
|
||||
type: pod
|
||||
containers:
|
||||
- image: docker.io/alpine/git
|
||||
steps:
|
||||
|
@ -15,11 +35,9 @@ runs:
|
|||
- source_dir: .
|
||||
dest_dir: .
|
||||
paths:
|
||||
- '**'
|
||||
- "**"
|
||||
- name: Run tests
|
||||
runtime:
|
||||
type: pod
|
||||
arch: amd64
|
||||
containers:
|
||||
- image: docker.io/golang:1.19-bullseye
|
||||
environment:
|
||||
|
@ -42,8 +60,6 @@ runs:
|
|||
|
||||
- name: Lint code
|
||||
runtime:
|
||||
type: pod
|
||||
arch: amd64
|
||||
containers:
|
||||
- image: docker.io/golangci/golangci-lint
|
||||
environment:
|
||||
|
|
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -17,3 +17,5 @@
|
|||
.idea/
|
||||
dist/
|
||||
out/
|
||||
.env
|
||||
.env.*
|
Reference in a new issue