From 7f2e60dd2a2c9aeda39852a819933670d12d4b0a Mon Sep 17 00:00:00 2001 From: Awais Qureshi Date: Wed, 1 Nov 2023 12:32:44 +0500 Subject: [PATCH] build: capturing new migrations. --- .github/workflows/capture_new_migrations.yml | 30 ++++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/capture_new_migrations.yml b/.github/workflows/capture_new_migrations.yml index 82d282d00bcc..7ba719bd8616 100644 --- a/.github/workflows/capture_new_migrations.yml +++ b/.github/workflows/capture_new_migrations.yml @@ -187,21 +187,21 @@ jobs: echo "Numeric Result: $numeric_result" echo "SECOND_QUERY=$numeric_result" >> $GITHUB_ENV - - name: Process Data - run: | - 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;) - formatted_data=$(echo "$data" | tr '\t' ' ') -# echo "CUSTOM_MESSAGE=$formatted_data" >> $GITHUB_ENV - echo "$formatted_data" > multi_line_data.txt - shell: bash - - - name: Comment PR - uses: thollander/actions-comment-pull-request@v2 - filePath: multi_line_data.txt - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} +# - name: Process Data +# run: | +# 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;) +# formatted_data=$(echo "$data" | tr '\t' ' ') +## echo "CUSTOM_MESSAGE=$formatted_data" >> $GITHUB_ENV +# echo "$formatted_data" > multi_line_data.txt +# shell: bash +# +# - name: Comment PR +# uses: thollander/actions-comment-pull-request@v2 +# filePath: multi_line_data.txt +# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This job aggregates test results. It's the required check for branch protection. # https://github.com/marketplace/actions/alls-green#why