Skip to content

Commit 9a5b696

Browse files
committed
build: capturing new migrations.
1 parent 8582e2e commit 9a5b696

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/capture_new_migrations.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -175,18 +175,14 @@ jobs:
175175
number1=${{ env.SECOND_QUERY }}
176176
number2=${{ env.FIRST_QUERY }}
177177
diff=$((number1 - number2))
178-
data=$(mysql -h 127.0.0.1 -uedxapp001 -ppassword -e "select app, name from django_migrations ORDER by -id limit $diff;" edxapp;)
178+
data=$(mysql -h 127.0.0.1 -uedxapp001 -ppassword -e "select name from django_migrations ORDER by -id limit $diff;" edxapp;)
179179
echo "$data" > cleaned_data.txt
180180
shell: bash
181181

182182
- name: Comment PR
183183
uses: thollander/actions-comment-pull-request@v2
184184
with:
185-
message: |
186-
Here is the data:
187-
```
188-
$(cat cleaned_data.txt)
189-
```
185+
filePath: cleaned_data.txt
190186
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
191187

192188
# This job aggregates test results. It's the required check for branch protection.

0 commit comments

Comments
 (0)