Added Gitea workflows

This commit is contained in:
Valentin Popov 2024-07-09 22:25:54 +04:00
parent 487f60f451
commit 266747bae5
Signed by: Valentin Popov
GPG Key ID: AE3CE523DAAA8401
5 changed files with 56 additions and 17 deletions

View File

@ -0,0 +1,26 @@
name: RenovateBot
on:
schedule:
- cron: "@daily"
push:
branches:
- master
jobs:
renovate:
container: ghcr.io/renovatebot/renovate:37
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run renovate
run: |
renovate
env:
LOG_LEVEL: debug
RENOVATE_CONFIG_FILE: renovate.config.cjs
RENOVATE_REPOSITORIES: ${{ gitea.repository }}
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}

0
.github/workflows/.gitkeep vendored Normal file
View File

View File

@ -1,17 +0,0 @@
name: Workflow
on: [push]
jobs:
mirror:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: yesolutions/mirror-action@master
with:
REMOTE: 'https://git.popov.link/valentineus.github.io.git'
GIT_USERNAME: ${{ secrets.GIT_USERNAME }}
GIT_PASSWORD: ${{ secrets.GIT_PASSWORD }}

24
.renovaterc Normal file
View File

@ -0,0 +1,24 @@
{
"assignees": [
"valentineus"
],
"extends": [
"config:recommended",
":disableDependencyDashboard"
],
"packageRules": [
{
"groupName": "all digest updates",
"groupSlug": "all-digest",
"matchPackagePatterns": [
"*"
],
"matchUpdateTypes": [
"minor",
"patch",
"pin",
"digest"
]
}
]
}

6
renovate.config.cjs Normal file
View File

@ -0,0 +1,6 @@
module.exports = {
endpoint: "https://code.popov.link",
gitAuthor: "RenovateBot <renovatebot@noreply.localhost>",
optimizeForDisabled: true,
platform: "gitea",
};