Skip to content
Snippets Groups Projects
Commit c10f7fc2866b authored by Filipe Laíns's avatar Filipe Laíns
Browse files

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: default avatarFilipe Laíns <lains@riseup.net>
parent 79eab1f74e31
Branches
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@
- name: Check for source changes
id: check
run: |
if [ -z "GITHUB_BASE_REF" ]; then
if [ -z "$GITHUB_BASE_REF" ]; then
echo '::set-output name=run_tests::true'
else
git fetch origin $GITHUB_BASE_REF --depth=1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment