Update scripts to use PULL_REQUEST_ID

This commit is contained in:
Owen Voke
2020-06-24 13:11:33 +01:00
committed by Marco Bonelli
parent 81d346f006
commit 5e958f6074
4 changed files with 7 additions and 3 deletions

View File

@@ -43,7 +43,7 @@ function run_checks_pr {
# MAIN
###################################
if [ "$CI" = "true" ] && [ "$GITHUB_REPOSITORY" = "tldr-pages/tldr" ] && [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
if [ "$CI" = "true" ] && [ "$GITHUB_REPOSITORY" = "tldr-pages/tldr" ] && [ "$PULL_REQUEST_ID" != "false" ]; then
run_checks_pr
run_tests_pr
else