diff --git a/.github/workflows/dbip_download.yml b/.github/workflows/dbip_download.yml index e8f947974..b36eb27ce 100644 --- a/.github/workflows/dbip_download.yml +++ b/.github/workflows/dbip_download.yml @@ -59,7 +59,7 @@ jobs: git checkout generated-source fi DIFF="$(diff "${TEMP_DIR}"/dbip_country.rs ip_country/src/dbip_country.rs || true)" - if [[ "$DIFF" != "" ]] + if [[ "$DIFF" != "" || "$BRANCH" == "" ]] then mv "${TEMP_DIR}"/dbip_country.rs ip_country/src/dbip_country.rs git add ip_country/src/dbip_country.rs