Skip to content

Commit

Permalink
Merge pull request #17 from donaldwasserman/master
Browse files Browse the repository at this point in the history
Fix default value / required field in github action
  • Loading branch information
donaldwasserman authored May 18, 2020
2 parents a9b97a0 + 3395b5a commit 8db8653
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ inputs:
required: true
description: '<path to token>'
use_pullrequest:
default: false
required: false
description: 'Use a pull request to generate the changelog instead of a direct commit'
branch_name:
required: false
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ async function run() {

let branch = defaultBranch || releaseBranch;

let newContents = `### [${name}](${url})${NEWLINE} ${body} ${NEWLINE}${currentContents}`;
let newContents = `### [${name}](${url}):${NEWLINE} ${body} ${NEWLINE}${currentContents}`;
let buff = new Buffer.from(newContents);
let content = buff.toString('base64');

Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ async function run() {

let branch = defaultBranch || releaseBranch;

let newContents = `### [${name}](${url})${NEWLINE} ${body} ${NEWLINE}${currentContents}`;
let newContents = `### [${name}](${url}):${NEWLINE} ${body} ${NEWLINE}${currentContents}`;
let buff = new Buffer.from(newContents);
let content = buff.toString('base64');

Expand Down

0 comments on commit 8db8653

Please sign in to comment.