Skip to content

Commit 0bab540

Browse files
committed
Fix command-block workflow
1 parent 9823c04 commit 0bab540

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/command-block.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
- uses: actions/[email protected]
2020
with:
2121
script: |
22-
github.rest.issues.createComment({
23-
issue_number: context.issue.number,
22+
github.rest.pulls.createComment({
2423
owner: context.repo.owner,
2524
repo: context.repo.repo,
25+
pull_number: context.issue.number,
2626
body: 'Awesome that you are trying to improve the documentation of a nushell command!\n\n' +
2727
'As we autogenerate these command pages from the help information defined with the command after each release:\n'+
2828
'- If you already updated the command help, you are already done!\n'+

0 commit comments

Comments
 (0)