Skip to content

Commit 2a78066

Browse files
committed
config: widen pull_requests window and fix state display
- exclude Odilhao/odilhao itself (its own PR to its own profile repo shouldn't take a slot) - bump pull_requests limit to 10 so the fixed overfetch window still reaches real PRs elsewhere once readme-builder/odilhao noise is excluded (readme-builder#70 tracks fetch-side under-delivery when exclusions eat into a single search page) - template: PullRequests.MergedAt is never populated by the fetcher (documented tradeoff to avoid a per-PR API call), so humanize on it always rendered empty parens; show .State instead
1 parent c9d8994 commit 2a78066

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

config.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
username = "Odilhao"
22

33
[github]
4-
exclude_repos = ["Odilhao/readme-builder"]
4+
exclude_repos = ["Odilhao/readme-builder", "Odilhao/odilhao"]
55

66
[github.contributions]
77
limit = 8
@@ -10,7 +10,7 @@ limit = 8
1010
limit = 5
1111

1212
[github.pull_requests]
13-
limit = 5
13+
limit = 10
1414

1515
[feeds.blog]
1616
url = "https://odilon.dev/index.xml"

templates/template.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ I'm Odilon, a sysadmin that works as Software Engineer at Red Hat working in a r
1616

1717
#### 🔨 My recent Pull Requests
1818
{{range .GitHub.PullRequests}}
19-
- [{{.Title}}]({{.URL}}) on [{{.Repo}}](https://github.com/{{.Repo}}) ({{humanize .MergedAt}})
19+
- [{{.Title}}]({{.URL}}) on [{{.Repo}}](https://github.com/{{.Repo}}) ({{.State}})
2020
{{- end}}
2121

2222
#### 📜 My recent blog posts

0 commit comments

Comments
 (0)