Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mordamax committed Jul 23, 2024
1 parent 8c61d0b commit 057fa9f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/cmd/_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def __call__(self, parser, namespace, values, option_string=None):
for subparsers_action in subparsers_actions:
# get all subparsers and print help
for choice, subparser in subparsers_action.choices.items():
print("\n----> Command '{}'".format(choice))
print("\n### Command '{}'".format(choice))
print(subparser.format_help())

parser.exit()
4 changes: 2 additions & 2 deletions .github/workflows/cmd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: `Command help: ${{ steps.help.outputs.help }}`
body: `<details><summary>Command help:</summary>${{ steps.help.outputs.help }}</details>`
})
confirm:
Expand All @@ -47,7 +47,7 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
github.rest.reactions.createForIssueComment({
comment_id: ${{ github.event.issue.number }},
comment_id: ${{ github.event.comment.id }},
owner: context.repo.owner,
repo: context.repo.repo,
content: 'eyes'
Expand Down

0 comments on commit 057fa9f

Please sign in to comment.