1
0
mirror of https://github.com/ru-de/faq.git synced 2024-11-13 22:21:01 +00:00

ci as review (#395)

* ci as review

* ci as review

* fix curl

* check

* check

* revert check
This commit is contained in:
Evgeniy Sokolov 2018-05-17 22:14:19 +02:00 committed by GitHub
parent 8e41f644d9
commit 0c19e002d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,7 +44,7 @@ if [ $EXIT_CODE -ne 0 ]; then
github_comments_diff -comments /tmp/comments_array.json -exists-comments /tmp/pr_comments.json > /tmp/send_comments.json github_comments_diff -comments /tmp/comments_array.json -exists-comments /tmp/pr_comments.json > /tmp/send_comments.json
curl -XPOST "https://github-api-bot.herokuapp.com/send_review?repo=$TRAVIS_REPO_SLUG&pr=$TRAVIS_PULL_REQUEST" -d @/tmp/send_comments.json curl -XPOST "https://github-api-bot.herokuapp.com/send_review?repo=$TRAVIS_REPO_SLUG&pr=$TRAVIS_PULL_REQUEST&body=Спасибо%20за%20PR.%20Обратите%20внимание%20на%20результаты%20автоматической%20проверки%20орфографии%20и%20ссылок" -d @/tmp/send_comments.json
fi fi
exit $EXIT_CODE exit $EXIT_CODE