diff --git a/.github/workflows/capture_new_migrations.yml b/.github/workflows/capture_new_migrations.yml index cbd3650b7519..cf0f44305947 100644 --- a/.github/workflows/capture_new_migrations.yml +++ b/.github/workflows/capture_new_migrations.yml @@ -194,7 +194,7 @@ jobs: number1=${{ env.SECOND_QUERY }} number2=${{ env.FIRST_QUERY }} diff=$((number1 - number2)) - result=$(mysql -h 127.0.0.1 -uedxapp001 -ppassword -e "select app, name from django_migrations ORDER by -id limit $diff;" edxapp;) + data=$(mysql -h 127.0.0.1 -uedxapp001 -ppassword -e "select app, name from django_migrations ORDER by -id limit $diff;" edxapp;) formatted_data=$(echo "$data" | tr '\t' ' ') echo "Query Result: $formatted_data" echo "CUSTOM_MESSAGE=$formatted_data" >> $GITHUB_ENV