Fix CI si aucun fichier modifier
All checks were successful
Retrieve Events Datas / Retrieve-Events-Datas (push) Successful in 15s

This commit is contained in:
Melaine Gérard 2024-10-04 13:09:01 +02:00
parent 89129bc142
commit e10454a4c2

View File

@ -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 <cameliastudio@localhost>"