]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-42773: fix tests not being run on pushes (GH-24004)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 3 Feb 2021 23:38:55 +0000 (15:38 -0800)
committerGitHub <noreply@github.com>
Wed, 3 Feb 2021 23:38:55 +0000 (15:38 -0800)
commit0898dcb3a0400d3c93e27f9feb4c2207eb1a996d
treeb6b7c37a4f2e79d6f729f04e1287a393de189a1d
parent2603d77a6b3200f08b890bd9bb4dc821970d68fe
bpo-42773: fix tests not being run on pushes (GH-24004)

There was a typo, we were checking if the "GITHUB_BASE_REF" string
literal was empty instead of the $GITHUB_BASE_REF value. When
$GITHUB_BASE_REF is empty, the action that triggered the run was not a
pull request, so we always run the full test suite.

Signed-off-by: Filipe Laíns <lains@riseup.net>
(cherry picked from commit 4ac923f2756f835f512339ee181348cc535ab07f)

Co-authored-by: Filipe Laíns <lains@riseup.net>
.github/workflows/build.yml