From 20c745096734a7922ead7bd15f905afd2ebbcbfe Mon Sep 17 00:00:00 2001 From: Keshav Priyadarshi Date: Mon, 25 Nov 2024 16:53:28 +0530 Subject: [PATCH] Add signoff to automated commits Signed-off-by: Keshav Priyadarshi --- .github/workflows/{update.yaml => update-kev.yaml} | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename .github/workflows/{update.yaml => update-kev.yaml} (67%) diff --git a/.github/workflows/update.yaml b/.github/workflows/update-kev.yaml similarity index 67% rename from .github/workflows/update.yaml rename to .github/workflows/update-kev.yaml index 4147cdd..9fd0c85 100644 --- a/.github/workflows/update.yaml +++ b/.github/workflows/update-kev.yaml @@ -20,9 +20,9 @@ jobs: - name: Commit and push if it changed run: |- - git config user.name "Automated daily update" - git config user.email "actions@users.noreply.github.com" + git config user.name "AboutCode Automation" + git config user.email "automation@aboutcode.org" git add -A timestamp=$(date -u) - git commit -m "Update json: ${timestamp}" || exit 0 - git push + git commit -m "$(echo -e "Update KEV: $timestamp\n\nSigned-off-by: AboutCode Automation ")" || exit 0 + git push \ No newline at end of file