From b9776e2a3318901e38092f6446fe7193ed1d7114 Mon Sep 17 00:00:00 2001 From: Alex38Lyon <55714436+Alex38Lyon@users.noreply.github.com> Date: Sat, 26 Sep 2026 21:02:56 +0200 Subject: [PATCH] Include commit date in ScriptPython workflow Add commit date to GitHub Actions output for auto-commit. --- .github/workflows/ScriptPython.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ScriptPython.yml b/.github/workflows/ScriptPython.yml index 5a8dcdf..4357637 100644 --- a/.github/workflows/ScriptPython.yml +++ b/.github/workflows/ScriptPython.yml @@ -36,6 +36,11 @@ jobs: echo "VÉRIFICATION DES MODIFICATIONS" echo "========================================" + # Date et heure du commit + COMMIT_DATE=$(date '+%Y-%m-%d %H:%M:%S') + echo "commit_date=$COMMIT_DATE" >> "$GITHUB_OUTPUT" + + echo "Date du commit : $COMMIT_DATE" # -------------------------------------------------------- # Lancement manuel # -------------------------------------------------------- @@ -510,6 +515,7 @@ jobs: uses: stefanzweifel/git-auto-commit-action@v7 env: COMMIT_DATE: ${{ steps.changed.outputs.commit_date }} + with: commit_message: "Auto-generate outputs from ScriptPython - ${{ env.COMMIT_DATE }}" commit_user_name: "github-actions[bot]"