mirror of
				https://github.com/valentineus/popov.link.git
				synced 2025-11-04 06:49:45 +03:00 
			
		
		
		
	Added self-hosted Renovate Bot
This commit is contained in:
		
							
								
								
									
										15
									
								
								.gitea/renovate.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								.gitea/renovate.json
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,15 @@
 | 
			
		||||
{
 | 
			
		||||
  "$schema": "https://docs.renovatebot.com/renovate-schema.json",
 | 
			
		||||
  "extends": ["config:recommended", ":disableDependencyDashboard"],
 | 
			
		||||
  "assignees": ["valentineus"],
 | 
			
		||||
  "labels": ["dependencies", "automated"],
 | 
			
		||||
  "packageRules": [
 | 
			
		||||
    {
 | 
			
		||||
      "groupName": "all digest updates",
 | 
			
		||||
      "groupSlug": "all-digest",
 | 
			
		||||
      "matchUpdateTypes": ["minor", "patch", "pin", "digest"],
 | 
			
		||||
      "matchPackageNames": ["*"],
 | 
			
		||||
      "automerge": true
 | 
			
		||||
    }
 | 
			
		||||
  ]
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										16
									
								
								.gitea/workflows/renovate.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								.gitea/workflows/renovate.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,16 @@
 | 
			
		||||
name: RenovateBot
 | 
			
		||||
on:
 | 
			
		||||
  schedule:
 | 
			
		||||
    - cron: "@daily"
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  renovate:
 | 
			
		||||
    container: ghcr.io/renovatebot/renovate:40
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    steps:
 | 
			
		||||
      - uses: actions/checkout@v4
 | 
			
		||||
      - run: renovate
 | 
			
		||||
        env:
 | 
			
		||||
          RENOVATE_CONFIG_FILE: renovate.config.cjs
 | 
			
		||||
          RENOVATE_REPOSITORIES: ${{ gitea.repository }}
 | 
			
		||||
          RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
 | 
			
		||||
							
								
								
									
										14
									
								
								.github/dependabot.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										14
									
								
								.github/dependabot.yml
									
									
									
									
										vendored
									
									
								
							@@ -1,14 +0,0 @@
 | 
			
		||||
version: 2
 | 
			
		||||
updates:
 | 
			
		||||
  - package-ecosystem: "npm"
 | 
			
		||||
    directory: "/"
 | 
			
		||||
    schedule:
 | 
			
		||||
      interval: "weekly"
 | 
			
		||||
  - package-ecosystem: "github-actions"
 | 
			
		||||
    directory: "/"
 | 
			
		||||
    schedule:
 | 
			
		||||
      interval: "weekly"
 | 
			
		||||
  - package-ecosystem: "devcontainers"
 | 
			
		||||
    directory: "/"
 | 
			
		||||
    schedule:
 | 
			
		||||
      interval: "weekly"
 | 
			
		||||
							
								
								
									
										30
									
								
								.github/renovate.json
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										30
									
								
								.github/renovate.json
									
									
									
									
										vendored
									
									
								
							@@ -1,30 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
  "$schema": "https://docs.renovatebot.com/renovate-schema.json",
 | 
			
		||||
  "extends": [
 | 
			
		||||
    "config:recommended",
 | 
			
		||||
    ":disableDependencyDashboard"
 | 
			
		||||
  ],
 | 
			
		||||
  "assignees": [
 | 
			
		||||
    "valentineus"
 | 
			
		||||
  ],
 | 
			
		||||
  "labels": [
 | 
			
		||||
    "dependencies",
 | 
			
		||||
    "automated"
 | 
			
		||||
  ],
 | 
			
		||||
  "packageRules": [
 | 
			
		||||
    {
 | 
			
		||||
      "groupName": "all digest updates",
 | 
			
		||||
      "groupSlug": "all-digest",
 | 
			
		||||
      "matchUpdateTypes": [
 | 
			
		||||
        "minor",
 | 
			
		||||
        "patch",
 | 
			
		||||
        "pin",
 | 
			
		||||
        "digest"
 | 
			
		||||
      ],
 | 
			
		||||
      "matchPackageNames": [
 | 
			
		||||
        "*"
 | 
			
		||||
      ],
 | 
			
		||||
      "automerge": true
 | 
			
		||||
    }
 | 
			
		||||
  ]
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										15
									
								
								.github/workflows/mirror.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										15
									
								
								.github/workflows/mirror.yml
									
									
									
									
										vendored
									
									
								
							@@ -1,15 +0,0 @@
 | 
			
		||||
name: Mirror
 | 
			
		||||
on: [push]
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  mirror:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    steps:
 | 
			
		||||
    - uses: actions/checkout@v4
 | 
			
		||||
      with:
 | 
			
		||||
        fetch-depth: 0
 | 
			
		||||
    - uses: yesolutions/mirror-action@master
 | 
			
		||||
      with:
 | 
			
		||||
        REMOTE: 'https://git.popov.link/popov.link.git'
 | 
			
		||||
        GIT_USERNAME: ${{ secrets.GIT_USERNAME }}
 | 
			
		||||
        GIT_PASSWORD: ${{ secrets.GIT_PASSWORD }}
 | 
			
		||||
							
								
								
									
										7
									
								
								renovate.config.cjs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								renovate.config.cjs
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,7 @@
 | 
			
		||||
module.exports = {
 | 
			
		||||
	endpoint: "https://code.popov.link",
 | 
			
		||||
	gitAuthor: "RenovateBot <renovatebot@noreply.localhost>",
 | 
			
		||||
	onboardingConfigFileName: ".gitea/renovate.json",
 | 
			
		||||
	optimizeForDisabled: true,
 | 
			
		||||
	platform: "gitea",
 | 
			
		||||
};
 | 
			
		||||
		Reference in New Issue
	
	Block a user