diff --git a/.github/workflows/capture_new_migrations.yml b/.github/workflows/capture_new_migrations.yml index a8b2cb9c067d..d00d003316e8 100644 --- a/.github/workflows/capture_new_migrations.yml +++ b/.github/workflows/capture_new_migrations.yml @@ -196,14 +196,13 @@ jobs: 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;) echo "Query Result: $result" - echo "new_migrations=$result" >> $GITHUB_ENV + echo "CUSTOM_MESSAGE=$result" >> $GITHUB_ENV shell: bash - name: Comment PR uses: thollander/actions-comment-pull-request@v2 with: - message: | - New migrations added "${{ env.SECOND_QUERY }}". + message: ${{ env.CUSTOM_MESSAGE }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This job aggregates test results. It's the required check for branch protection.