From 257b4b2e0246f40e8d81c684dd083de9051d1b58 Mon Sep 17 00:00:00 2001 From: Kseniia Murasheva <40736067+Kseymur@users.noreply.github.com> Date: Tue, 27 Feb 2024 20:51:53 +0400 Subject: [PATCH 1/2] fix market-health-reporter.yml --- .github/workflows/market-health-reporter.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/market-health-reporter.yml b/.github/workflows/market-health-reporter.yml index d6ca70686..8affe5e78 100644 --- a/.github/workflows/market-health-reporter.yml +++ b/.github/workflows/market-health-reporter.yml @@ -8,7 +8,7 @@ jobs: name: "Perform market analysis" if: | !github.event.issue.pull_request && - (contains(github.event.comment.body, 'analyze:') + contains(github.event.comment.body, 'analyze:') steps: - uses: actions/checkout@v3 @@ -66,4 +66,4 @@ jobs: echo "PR created at URL: $PR_URL" echo "PR_URL=$PR_URL" >> $GITHUB_ENV env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From fb65862533fd9f89a4d8c79c7c09f87b2aac227d Mon Sep 17 00:00:00 2001 From: Kseniia Murasheva <40736067+Kseymur@users.noreply.github.com> Date: Tue, 27 Feb 2024 21:30:41 +0400 Subject: [PATCH 2/2] Update README.md --- tools/README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tools/README.md b/tools/README.md index 7e172a32d..760fe7cb9 100644 --- a/tools/README.md +++ b/tools/README.md @@ -25,4 +25,10 @@ It is a python script that takes command-line arguments with API keys and a link `/duplecheck` -Checks if the article from the pull request is new to Crypto Wiki. Uses GPT-3 for comparing two texts. \ No newline at end of file +Checks if the article from the pull request is new to Crypto Wiki. Uses GPT-3 for comparing two texts. + +## Market Health Reporter + +`analyze:` + +For a correct request, use the following template: `analyze: pair, market, start_of_the_period, end_of_the_period`. Example: "analyze: bnb-btc, binance, 2024-02-02, 2024-02-07"