Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/update-plugins-md.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Update PLUGINS.md
name: Update generated files

on:
workflow_dispatch:
Expand All @@ -19,11 +19,12 @@ jobs:
- run: git remote set-url origin git@github.com:patternfly/ai-helpers.git
- run: |
bash scripts/generate-plugins-md.sh
git diff --quiet PLUGINS.md README.md || {
bash scripts/generate-skills-json.sh
git diff --quiet PLUGINS.md README.md dist/skills.json || {
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add PLUGINS.md README.md
git commit -m "docs: auto-update PLUGINS.md and README plugin table"
git add PLUGINS.md README.md dist/skills.json
git commit -m "docs: auto-update PLUGINS.md, README plugin table, and skills index"
git pull --rebase
git push
}
Loading