Include commit date in ScriptPython workflow

Add commit date to GitHub Actions output for auto-commit.
This commit is contained in:
Alex38Lyon
2026-09-26 21:02:56 +02:00
committed by GitHub
parent 4f6bcb0f51
commit b9776e2a33
+6
View File
@@ -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]"