From e10454a4c2846a73af6ea45ff83ab1f5e142ea20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Melaine=20G=C3=A9rard?= Date: Fri, 4 Oct 2024 13:09:01 +0200 Subject: [PATCH] :sparkles: Fix CI si aucun fichier modifier --- .gitea/workflows/retrieve-datas.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/retrieve-datas.yaml b/.gitea/workflows/retrieve-datas.yaml index 930ba08..455803a 100644 --- a/.gitea/workflows/retrieve-datas.yaml +++ b/.gitea/workflows/retrieve-datas.yaml @@ -20,11 +20,11 @@ jobs: - run: npm ci - run: npm run retrieve-datas - name: Commit and push changes - run: | - git config --global user.email "camelia@localhost" - git config --global user.name "Camélia Studio" - git add events.json - git commit -m "Update events.json" - git checkout datas - git merge master - git push -u origin datas + uses: stefanzweifel/git-auto-commit-action@v5 + with: + branch: datas + commit_message: "chore: Update Datas" + file_pattern: "events.json" + commit_user_name: "Camélia Studio" + commit_user_email: "cameliastudio@localhost" + commit_author: "Camélia Studio " \ No newline at end of file