Commit cf5625a
committed
fix(changelog): find original author of agentic commits
fix(changelog): make co-authors first-class authors; keep all contributors
Addresses the Copilot review on PR #39:
- Co-authors overwrite (utils.js): instead of storing co-authors in a
per-author field that a later commit could overwrite, every
`Co-authored-by` trailer now becomes a first-class entry in the authors
map (keyed by login). This drops co-authors no more, regardless of how
many commits an author has, and works whether or not Slack IDs are
fetched. getCommitCoauthors now returns { login, name, email }.
- getAuthorsWithSlackIds no longer drops contributors. Restored to the
documented contract (action.yml / PR description): return every author
and attach `slackId` only when it can be resolved, rather than filtering
out anyone without an org email or Slack match.
Rebuilt dist.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HvWuyXuTp7HFAExnfjG91b
feat(changelog): exclude bots and ignored logins from authors
Adds bot/author filtering so release notifications don't tag automation
accounts (Copilot, Claude) while still crediting the real humans behind
their commits:
- Commit authors with GitHub account type "Bot" are always skipped.
- New `ignore-authors` input (comma-separated logins, default
"Copilot,Claude", matched case-insensitively) excludes both commit
authors and `Co-authored-by` trailers. A bot commit's real co-authors
are still kept.
Rebuilt dist.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HvWuyXuTp7HFAExnfjG91b
fix(changelog): find original author of agentic commits1 parent 291951c commit cf5625a
6 files changed
Lines changed: 260 additions & 130 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
53 | 60 | | |
54 | 61 | | |
55 | 62 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| 42 | + | |
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
| |||
47 | 49 | | |
48 | 50 | | |
49 | 51 | | |
| 52 | + | |
50 | 53 | | |
51 | 54 | | |
52 | 55 | | |
| |||
57 | 60 | | |
58 | 61 | | |
59 | 62 | | |
60 | | - | |
| 63 | + | |
61 | 64 | | |
62 | 65 | | |
63 | 66 | | |
64 | 67 | | |
65 | 68 | | |
66 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
67 | 72 | | |
68 | 73 | | |
69 | 74 | | |
| |||
89 | 94 | | |
90 | 95 | | |
91 | 96 | | |
| 97 | + | |
92 | 98 | | |
93 | 99 | | |
94 | 100 | | |
| |||
127 | 133 | | |
128 | 134 | | |
129 | 135 | | |
| 136 | + | |
130 | 137 | | |
131 | 138 | | |
132 | 139 | | |
| |||
0 commit comments