Skip to content

Commit

Permalink
Fix comment format
Browse files Browse the repository at this point in the history
  • Loading branch information
ncalteen committed Oct 31, 2024
1 parent bd089ac commit 608bde4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ export async function versionCheckComment(
'### Semantic Version Check Passed :white_check_mark:',
`Version in manifest file \`${manifestPath}\` is valid.`,
'This comment will be automatically updated as changes are pushed to this PR branch.',
'<!-- semver: workflow=${{ github.workflow }} -->'
`<!-- semver: workflow=${github.context.workflow} -->`
].join('\n\n')

const failureBody = [
'### Semantic Version Check Failed :x:',
`Version in manifest file \`${manifestPath}\` has already been published. Please increment the version in the manifest file before attempting to merge this pull request.`,
'This comment will be automatically updated as changes are pushed to this PR branch.',
'<!-- semver: workflow=${{ github.workflow }} -->'
`<!-- semver: workflow=${github.context.workflow} -->`
].join('\n\n')

// Update the existing comment, or create a new one.
Expand Down

0 comments on commit 608bde4

Please sign in to comment.