From 9a5b696f111613bb2825f271d2f4fabad02883ac Mon Sep 17 00:00:00 2001 From: Awais Qureshi Date: Wed, 1 Nov 2023 14:23:00 +0500 Subject: [PATCH] build: capturing new migrations. --- .github/workflows/capture_new_migrations.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/capture_new_migrations.yml b/.github/workflows/capture_new_migrations.yml index 91a4b40de773..25b0c93ea3dc 100644 --- a/.github/workflows/capture_new_migrations.yml +++ b/.github/workflows/capture_new_migrations.yml @@ -175,18 +175,14 @@ jobs: number1=${{ env.SECOND_QUERY }} number2=${{ env.FIRST_QUERY }} diff=$((number1 - number2)) - data=$(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 name from django_migrations ORDER by -id limit $diff;" edxapp;) echo "$data" > cleaned_data.txt shell: bash - name: Comment PR uses: thollander/actions-comment-pull-request@v2 with: - message: | - Here is the data: - ``` - $(cat cleaned_data.txt) - ``` + filePath: cleaned_data.txt GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This job aggregates test results. It's the required check for branch protection.