Skip to content
This repository has been archived by the owner on Jan 2, 2024. It is now read-only.

Commit

Permalink
fix: skip merge PR commits in changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
holvonixAdvay authored Aug 12, 2019
1 parent 230357b commit 8a37e43
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ function writerOpts() {
if (commit.subject.indexOf('skip-changelog') >= 0) {
return;
}
if (commit.subject.indexOf('Merge pull request') >= 0) {
return;
}
let url = context.repository
? `${context.host}/${context.owner}/${context.repository}`
: context.repoUrl;
Expand Down

0 comments on commit 8a37e43

Please sign in to comment.