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