Skip to content

Commit 3c10f7a

Browse files
authored
push the mad files back to branch
1 parent 9efb79c commit 3c10f7a

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/test_generate_mads.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,14 @@ jobs:
2727
run: |
2828
mkdir -p mad
2929
python3 csv2mad.py ArcadeDatabase_CSV/ArcadeDatabase.csv
30+
31+
- name: Commit updated MAD files
32+
run: |
33+
git config --global user.name "The CI/CD Bot"
34+
git config --global user.email "theypsilon@gmail.com"
35+
git add mad/
36+
if git diff --cached --quiet; then
37+
echo "No changes to commit"
38+
else
39+
git commit -m "Update generated MAD files"
40+
git push

0 commit comments

Comments
 (0)