mirror of
https://github.com/mustbeperfect/definitive-opensource.git
synced 2026-04-17 23:54:03 +02:00
Updated workflow config and headers
This commit is contained in:
8
.github/workflows/generate-readme.yml
vendored
8
.github/workflows/generate-readme.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user