Skip to content

Commit

Permalink
reorder again
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl committed Oct 14, 2022
1 parent ffc132d commit 90238b7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions bin/cml/comment/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ exports.options = kebabcaseKeys({
description:
'Post to an existing PR/MR associated with the specified commit'
},
commitSha: {
type: 'string',
alias: 'head-sha',
default: 'HEAD',
description: 'Commit SHA linked to this comment'
},
watch: {
type: 'boolean',
description: 'Watch for changes and automatically update the comment'
Expand All @@ -29,12 +35,6 @@ exports.options = kebabcaseKeys({
description: 'File used to trigger the watcher',
hidden: true
},
commitSha: {
type: 'string',
alias: 'head-sha',
default: 'HEAD',
description: 'Commit SHA linked to this comment'
},
publish: {
type: 'boolean',
default: true,
Expand Down
4 changes: 2 additions & 2 deletions bin/cml/comment/create.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ describe('Comment integration tests', () => {
Options:
--pr Post to an existing PR/MR associated with the
specified commit [boolean]
--watch Watch for changes and automatically update the
comment [boolean]
--commit-sha, --head-sha Commit SHA linked to this comment
[string] [default: \\"HEAD\\"]
--watch Watch for changes and automatically update the
comment [boolean]
--publish Upload any local images found in the Markdown
report [boolean] [default: true]
--publish-url Self-hosted image server URL
Expand Down

2 comments on commit 90238b7

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test Comment

CML watermark

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test Comment

CML watermark

Please sign in to comment.