Updated workflow config and headers

This commit is contained in:
Lucas
2025-03-22 15:39:27 -07:00
parent 652627bd79
commit 7bf8ebced4
3 changed files with 12 additions and 13 deletions

View File

@@ -4,8 +4,8 @@ name: Generate README
on:
push:
paths:
- './source/data/applications.json'
- './source/data/categories.json'
- './source/data/**'
- './source/components/**'
workflow_dispatch:
jobs:
@@ -37,5 +37,7 @@ jobs:
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git add source/testing/test.md
git diff --quiet && git diff --staged --quiet || git commit -m "Auto-generate README from JSON"
git add readmes/
git add README.md
git diff --quiet && git diff --staged --quiet || git commit -m "Generate READMEs"
git push