From 057fa9fe2ce321b724b77c97cab480df582c4167 Mon Sep 17 00:00:00 2001 From: Mak Date: Tue, 23 Jul 2024 14:05:05 +0100 Subject: [PATCH] fix --- .github/scripts/cmd/_help.py | 2 +- .github/workflows/cmd.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/scripts/cmd/_help.py b/.github/scripts/cmd/_help.py index 2f3b64200a..eeedadcf97 100644 --- a/.github/scripts/cmd/_help.py +++ b/.github/scripts/cmd/_help.py @@ -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() diff --git a/.github/workflows/cmd.yml b/.github/workflows/cmd.yml index 2025b11b66..dd13de9800 100644 --- a/.github/workflows/cmd.yml +++ b/.github/workflows/cmd.yml @@ -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: `
Command help:${{ steps.help.outputs.help }}
` }) confirm: @@ -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'