mirror of
https://github.com/LCE-Hub/LCE-Workshop.git
synced 2026-07-15 23:10:50 +00:00
ci: versionlist support and manual running
This commit is contained in:
5
.github/workflows/registry.yml
vendored
5
.github/workflows/registry.yml
vendored
@@ -1,5 +1,6 @@
|
||||
name: Generate Registry
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches: [main]
|
||||
paths:
|
||||
@@ -28,6 +29,6 @@ jobs:
|
||||
run: |
|
||||
git config user.name "github-actions[bot]"
|
||||
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||
git add registry.json
|
||||
git diff --cached --quiet || git commit -m "chore: regenerate registry.json"
|
||||
git add registry.json versions.json
|
||||
git diff --cached --quiet || git commit -m "chore: regenerate registry.json and versions.json"
|
||||
git push
|
||||
|
||||
Reference in New Issue
Block a user