Skip to content

Commit

Permalink
Merge pull request #378 from 1712n/fixes_to_mh_reporter
Browse files Browse the repository at this point in the history
Fixes to mh reporter
  • Loading branch information
marina-chibizova authored Feb 27, 2024
2 parents 574d372 + fb65862 commit b494d94
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/market-health-reporter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8 changes: 7 additions & 1 deletion tools/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
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"

0 comments on commit b494d94

Please sign in to comment.