Add Gitea badges workflow and scripts for awarding badges based on user activity
This commit is contained in:
1 parent
c0a1d50c9d
commit
3a5ec76030
5 files changed
+414
No files matched your search
@@ -0,0 +1,68 @@
|
||||
{
|
||||
"tier_mode": "highest",
|
||||
"revoke": true,
|
||||
"quickdraw_seconds": 300,
|
||||
"scan_coauthors": true,
|
||||
"workers": 6,
|
||||
"noreply_domain": "noreply.git.sothink.vn",
|
||||
"exclude_users": ["renovate", "renovate-bot", "gitea-actions"],
|
||||
"families": [
|
||||
{
|
||||
"name": "YOLO",
|
||||
"metric": "yolo",
|
||||
"tiers": [{ "slug": "YOLO", "min": 1 }]
|
||||
},
|
||||
{
|
||||
"name": "Quickdraw",
|
||||
"metric": "quickdraw",
|
||||
"tiers": [{ "slug": "Quickdraw", "min": 1 }]
|
||||
},
|
||||
{
|
||||
"name": "Starstruck",
|
||||
"metric": "max_stars",
|
||||
"tiers": [
|
||||
{ "slug": "Starstruck", "min": 0 },
|
||||
{ "slug": "Starstruck-Bronze", "min": 5 },
|
||||
{ "slug": "Starstruck-Silver", "min": 10 },
|
||||
{ "slug": "Starstruck-Gold", "min": 20 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Pair Extraordinaire",
|
||||
"metric": "coauthored_commits",
|
||||
"tiers": [
|
||||
{ "slug": "Pair-Extraordinaire", "min": 1 },
|
||||
{ "slug": "Pair-Extraordinaire-Bronze", "min": 5 },
|
||||
{ "slug": "Pair-Extraordinaire-Silver", "min": 10 },
|
||||
{ "slug": "Pair-Extraordinaire-Gold", "min": 20 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Pull Shark",
|
||||
"metric": "merged_prs",
|
||||
"tiers": [
|
||||
{ "slug": "Pull-Shark", "min": 5 },
|
||||
{ "slug": "Pull-Shark-Bronze", "min": 10 },
|
||||
{ "slug": "Pull-Shark-Silver", "min": 50 },
|
||||
{ "slug": "Pull-Shark-Gold", "min": 100 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Sponsor",
|
||||
"manual": true,
|
||||
"note": "Gitea has no sponsorship feature - award manually",
|
||||
"tiers": [{ "slug": "Sponsor", "min": 1 }]
|
||||
},
|
||||
{
|
||||
"name": "Galaxy Brain",
|
||||
"manual": true,
|
||||
"note": "Gitea has no Discussions - award manually",
|
||||
"tiers": [
|
||||
{ "slug": "Galaxy-Brain", "min": 1 },
|
||||
{ "slug": "Galaxy-Brain-Bronze", "min": 5 },
|
||||
{ "slug": "Galaxy-Brain-Silver", "min": 10 },
|
||||
{ "slug": "Galaxy-Brain-Gold", "min": 20 }
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user