forked from ohcnetwork/leaderboard
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.yaml
More file actions
81 lines (70 loc) · 2.96 KB
/
config.example.yaml
File metadata and controls
81 lines (70 loc) · 2.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# yaml-language-server: $schema=config.schema.json
# Organization Info
org:
name: ohc.network ## required
description: Open Healthcare Network(OHC) is an open-source platform that helps governments, hospitals, and innovators build connected healthcare systems faster, safer, and at national scale. ## required
url: https://ohc.network ## required
logo_url: https://raw.githubusercontent.com/ohcnetwork/branding/refs/heads/main/OHC/SVG/Open_Healthcrae_Network-color-logo-icon.svg ## required
start_date: 2020-03-08 ## optional
socials: ## optional
github: https://github.com/ohcnetwork ## optional
slack: https://slack.ohc.network ## optional
linkedin: https://linkedin.com/company/ohcnetwork ## optional
youtube: https://youtube.com/ohcnetwork ## optional
email: support@ohc.network ## optional
# Site and SEO Metadata
meta:
title: Leaderboard - Open Healthcare Network ## required
description: ohc.network Leaderboard tracks the weekly contributions across different contributors working on projects in the organisation. ## required
image_url: https://ohc.network/logo.png ## required
site_url: https://contributors.ohc.network ## required
favicon_url: https://ohc.network/favicon.ico ## required
# Leaderboard related configurations
leaderboard:
data_source: https://github.com/ohcnetwork/leaderboard-data ## required
theme: https://raw.githubusercontent.com/ohcnetwork/leaderboard-data/refs/heads/main/leaderboard/theme.css ## optional - URL to custom theme CSS file
roles: ## required (minimum 1 role)
core:
name: Core ## required
description: Core member of OHC ## optional
intern:
name: Intern
description: Intern at OHC
operations:
name: Operations
description: OHC Operations team member
contributor:
name: Contributor
description: Open source contributor
bot:
name: Bot
description: Bot account
hidden: true ## optional - default: false - hides role by default in leaderboard and excludes from people page
top_contributors: ## optional - activity definition slugs to show in top contributors sidebar
- pr_merged
- pr_opened
- issue_opened
- issue_assigned
social_profiles: ## optional - social profile icon mappings
github:
icon: github
linkedin:
icon: linkedin
twitter:
icon: twitter
email:
icon: mail
# Scraper configuration for GitHub Actions workflow generation
scraper: ## optional
schedule: 0 */12 * * * ## required - cron expression for scheduled execution
scrapers: ## required - list of scrapers to run
- name: GitHub Scraper
repository: ohcnetwork/leaderboard-github-scraper
envs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_ORG: ${{ github.repository_owner }}
- name: Slack Scraper
repository: ohcnetwork/leaderboard-slack-scraper
envs:
SLACK_API_TOKEN: ${{ secrets.SLACK_API_TOKEN }}
SLACK_CHANNEL: ${{ vars.SLACK_EOD_CHANNEL }}