From cfaade6e2f8e55b462328262a381386079238943 Mon Sep 17 00:00:00 2001 From: Fabian Egli Date: Sat, 19 Oct 2024 00:01:15 +0200 Subject: [PATCH] log the diff in the update action daily_update.yml --- .github/workflows/daily_update.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/daily_update.yml b/.github/workflows/daily_update.yml index 2ae0398..e0ce102 100644 --- a/.github/workflows/daily_update.yml +++ b/.github/workflows/daily_update.yml @@ -16,6 +16,7 @@ jobs: git config --global user.name "dark-visitors" git config --global user.email "dark-visitors@users.noreply.github.com" python code/dark_visitors.py + git --no-pager diff git add -A git diff --quiet && git diff --staged --quiet || (git commit -m "Daily update from Dark Visitors" && git push) shell: bash @@ -24,4 +25,4 @@ jobs: uses: ./.github/workflows/main.yml secrets: inherit with: - message: "Daily update from Dark Visitors" \ No newline at end of file + message: "Daily update from Dark Visitors"