Skip to content

Commit

Permalink
Ignore user if they own the repo
Browse files Browse the repository at this point in the history
  • Loading branch information
stormwarning committed Dec 16, 2023
1 parent 51d9adc commit dfec823
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/tidy-tips-return.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@zazen/changesets-changelog': patch
---

Ignore user if they own the repo
2 changes: 1 addition & 1 deletion packages/changesets-changelog/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ const changelogFunctions = {
`[@${userFromSummary}](https://github.com/${userFromSummary})`,
)
.join(', ')
: links.user.includes(repoOwner) && links.user
: null
let userThanks = users === null ? '' : `\n Thanks ${users}!`
let versionInfo =
links.pull === null ? ` ${links.commit}` : ` (${links.pull})`
Expand Down

0 comments on commit dfec823

Please sign in to comment.