fix: convert cf-kv and excalidraw-libraries from submodules to regular files

- Remove stale cloudflare-worker submodule entry from .gitmodules
- Remove .git dirs from cf-kv and excalidraw-libraries so Git tracks them as regular files
- Fixes 'No url found for submodule path cf-kv' CI error
This commit is contained in:
Tomas Dvorak
2026-04-27 09:37:49 +02:00
parent 88c2969a96
commit 338dbcc20e
1488 changed files with 3359158 additions and 5 deletions
@@ -0,0 +1,25 @@
name: Process libraries.json
on: pull_request
jobs:
item_names:
if: github.repository == 'excalidraw/excalidraw-libraries'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
token: ${{ secrets.EXCALIBOT_PAT_WORKFLOWS }}
ref: ${{ github.event.pull_request.head.ref }}
- name: regenrate-item-names
run: node scripts/gen-item-names.mjs
- name: Commit changes
run: |
FILE_CHANGED=$(git diff libraries.json)
if [ ! -z "${FILE_CHANGED}" ]; then
git config --global user.name 'Excalidraw Bot'
git config --global user.email 'bot@excalidraw.com'
git add .
git commit -am "regenerate itemNames"
git push
fi
@@ -0,0 +1,17 @@
name: Validate libraries.json
on: pull_request
jobs:
validation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node.js 14.x
uses: actions/setup-node@v2
with:
node-version: 14.x
- name: Validate libraries.json
run: |
yarn validate:libraries