Skip to content

Organization calendar

A row of an organization’s weeks, each as hot as it was busy, under the total they add up to. It counts merged pull requests unless told otherwise. The organization calendar card

?org=forge-guild
OptionWhat it is
orgThe organization’s login — the name in github.com/<org>
OptionValuesWhat it does
countprs_merged prs_opened issues_opened issues_closedWhat each week counts
weeks1 to 9Weeks the row covers (9 by default)

Plus the common options, number_format and number_precision.

Each cell is seven days, the newest ending today, all in UTC. The dates under the row are the first day of the oldest week and the last day of the newest.

A week’s heat is its count against the busiest week’s, in four steps: a week with half the busiest week’s count is two steps up. An empty week shows the track. The steps are relative, so one card’s hottest week says nothing about another’s.

GitHub keeps a contribution calendar for people, not for organizations, so this one is a search per week. Every week rides on one request and one rate-limit point, and each search adds to the time GitHub takes to answer it: past about four months, a busy organization’s request outlasts GitHub’s own ten-second limit and fails, so the card stops at two months to keep well clear of it. A calendar of days would need several requests for the same span.

The issue counts need a token that can read issues; see the organization cards. Without it, GitHub answers with pull requests, and the card draws an error rather than counting them as issues.