You've already forked prometheus-fail2ban-exporter
							
							Compare commits
	
		
			2 Commits
		
	
	
		
			4773d68b06
			...
			d330eb6f52
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						
						
							
						
						d330eb6f52
	
				 | 
					
					
						|||
| 
						
						
							
						
						e880ea9041
	
				 | 
					
					
						
							
								
								
									
										29
									
								
								.gitea/workflows/unit-tests.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								.gitea/workflows/unit-tests.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,29 @@
 | 
				
			|||||||
 | 
					name: Run unit tests
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					on:
 | 
				
			||||||
 | 
					  pull_request:
 | 
				
			||||||
 | 
					    branches:
 | 
				
			||||||
 | 
					    - '*'
 | 
				
			||||||
 | 
					    types: [ "opened", "reopened", "synchronize" ]
 | 
				
			||||||
 | 
					  push:
 | 
				
			||||||
 | 
					    branches:
 | 
				
			||||||
 | 
					    - '*'
 | 
				
			||||||
 | 
					  workflow_dispatch: {}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					jobs:
 | 
				
			||||||
 | 
					  cluster:
 | 
				
			||||||
 | 
					    container:
 | 
				
			||||||
 | 
					      image: docker.io/library/golang:1.23.5
 | 
				
			||||||
 | 
					    runs-on:
 | 
				
			||||||
 | 
					    - docker
 | 
				
			||||||
 | 
					    steps:
 | 
				
			||||||
 | 
					    - name: Install tooling
 | 
				
			||||||
 | 
					      run: |
 | 
				
			||||||
 | 
					        apt update --yes
 | 
				
			||||||
 | 
					        apt upgrade --ye s
 | 
				
			||||||
 | 
					        apt install git npm
 | 
				
			||||||
 | 
					    - env:
 | 
				
			||||||
 | 
					        GOPROXY: ${{ vars.GOPROXY }}
 | 
				
			||||||
 | 
					        GONOSUMDB: ${{ vars.GONOSUMDB }}
 | 
				
			||||||
 | 
					      name: Execute containerized unit test
 | 
				
			||||||
 | 
					      run: make test
 | 
				
			||||||
@@ -1,35 +1,78 @@
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
  "$schema": "https://docs.renovatebot.com/renovate-schema.json",
 | 
					  "$schema": "https://docs.renovatebot.com/renovate-schema.json",
 | 
				
			||||||
  "assigneesFromCodeOwners": true,
 | 
					 | 
				
			||||||
  "labels": [ "renovate" ],
 | 
					  "labels": [ "renovate" ],
 | 
				
			||||||
  "packageRules": [
 | 
					  "packageRules": [
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
      "description": "Automatically update minor and patch versions of used drone-ci images",
 | 
					      "automerge": false,
 | 
				
			||||||
 | 
					      "description": "Disable all package updates by default",
 | 
				
			||||||
 | 
					      "enabled": false,
 | 
				
			||||||
 | 
					      "matchPackagePatterns": [
 | 
				
			||||||
 | 
					        "*"
 | 
				
			||||||
 | 
					      ],
 | 
				
			||||||
 | 
					      "matchUpdateTypes": [
 | 
				
			||||||
 | 
					        "major",
 | 
				
			||||||
 | 
					        "minor",
 | 
				
			||||||
 | 
					        "patch",
 | 
				
			||||||
 | 
					        "pin",
 | 
				
			||||||
 | 
					        "digest"
 | 
				
			||||||
 | 
					      ]
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
      "addLabels": [ "renovate/droneci", "renovate/automerge" ],
 | 
					      "addLabels": [ "renovate/droneci", "renovate/automerge" ],
 | 
				
			||||||
      "automerge": true,
 | 
					      "automerge": true,
 | 
				
			||||||
 | 
					      "description": "Automatically update minor and patch versions of used drone-ci images",
 | 
				
			||||||
 | 
					      "enabled": true,
 | 
				
			||||||
      "matchManagers": "droneci",
 | 
					      "matchManagers": "droneci",
 | 
				
			||||||
      "matchUpdateTypes": [ "minor", "patch"]
 | 
					      "matchUpdateTypes": [
 | 
				
			||||||
 | 
					        "minor",
 | 
				
			||||||
 | 
					        "patch"
 | 
				
			||||||
 | 
					      ]
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
      "description": "Automatically update minor and patch versions of go modules",
 | 
					      "addLabels": [
 | 
				
			||||||
      "addLabels": [ "renovate/gomod", "renovate/automerge" ],
 | 
					        "renovate/automerge",
 | 
				
			||||||
 | 
					        "renovate/github-action"
 | 
				
			||||||
 | 
					      ],
 | 
				
			||||||
      "automerge": true,
 | 
					      "automerge": true,
 | 
				
			||||||
      "matchBaseBranches": [ "master" ],
 | 
					      "description": "Automatically update public github-actions dependencies",
 | 
				
			||||||
      "matchManagers": [ "gomod" ],
 | 
					      "enabled": true,
 | 
				
			||||||
      "matchUpdateTypes": [ "minor", "patch" ]
 | 
					      "matchBaseBranches": [
 | 
				
			||||||
 | 
					        "master"
 | 
				
			||||||
 | 
					      ],
 | 
				
			||||||
 | 
					      "matchManagers": [
 | 
				
			||||||
 | 
					        "github-actions"
 | 
				
			||||||
 | 
					      ],
 | 
				
			||||||
 | 
					      "matchUpdateTypes": [
 | 
				
			||||||
 | 
					        "minor",
 | 
				
			||||||
 | 
					        "patch"
 | 
				
			||||||
 | 
					      ]
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
      "description": "Prepare MR for major update minor of go modules",
 | 
					      "addLabels": [
 | 
				
			||||||
      "addLabels": [ "renovate/gomod" ],
 | 
					        "renovate/automerge",
 | 
				
			||||||
      "automerge": false,
 | 
					        "renovate/golang"
 | 
				
			||||||
      "matchBaseBranches": [ "master" ],
 | 
					      ],
 | 
				
			||||||
      "matchManagers": [ "gomod" ],
 | 
					      "automerge": true,
 | 
				
			||||||
      "matchUpdateTypes": [ "major" ]
 | 
					      "description": "Automatically update public go dependencies",
 | 
				
			||||||
 | 
					      "enabled": true,
 | 
				
			||||||
 | 
					      "matchBaseBranches": [
 | 
				
			||||||
 | 
					        "master"
 | 
				
			||||||
 | 
					      ],
 | 
				
			||||||
 | 
					      "matchDatasources": [
 | 
				
			||||||
 | 
					        "go"
 | 
				
			||||||
 | 
					      ],
 | 
				
			||||||
 | 
					      "matchUpdateTypes": [
 | 
				
			||||||
 | 
					        "minor",
 | 
				
			||||||
 | 
					        "patch"
 | 
				
			||||||
 | 
					      ]
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  ],
 | 
					  ],
 | 
				
			||||||
 | 
					  "platformAutomerge": true,
 | 
				
			||||||
  "postUpdateOptions": [
 | 
					  "postUpdateOptions": [
 | 
				
			||||||
    "gomodTidy"
 | 
					    "gomodTidy"
 | 
				
			||||||
  ],
 | 
					  ],
 | 
				
			||||||
 | 
					  "prConcurrentLimit": 0,
 | 
				
			||||||
 | 
					  "prHourlyLimit": 0,
 | 
				
			||||||
  "rebaseLabel": "renovate/rebase",
 | 
					  "rebaseLabel": "renovate/rebase",
 | 
				
			||||||
  "rebaseWhen": "behind-base-branch"
 | 
					  "rebaseWhen": "behind-base-branch"
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user