Skip to content

Commit c40ea17

Browse files
ajitpratap0Ajit Pratap Singhclaude
authored
fix(ci): remove auto-commit WASM step — blocked by branch protection on main (#424)
The wasm auto-commit step from PR #423 fails with GH013 (branch protection rules prevent direct pushes to main, even from CI). This aborts the entire deploy pipeline before Vercel runs. The WASM is now committed in git (PR #423), so the auto-commit step is redundant for normal deploys. When wasm/ source changes, rebuild and commit manually. Revert permissions back to contents: read. Co-authored-by: Ajit Pratap Singh <ajitpratapsingh@Ajits-Mac-mini-2655.local> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 04f5210 commit c40ea17

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

.github/workflows/website.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
workflow_dispatch:
1111

1212
permissions:
13-
contents: write
13+
contents: read
1414

1515
concurrency:
1616
group: vercel-production
@@ -39,18 +39,6 @@ jobs:
3939
cp playground/gosqlx.wasm ../website/public/wasm/
4040
cp playground/wasm_exec.js ../website/public/wasm/
4141
42-
- name: Commit rebuilt WASM if changed
43-
run: |
44-
git config user.name "github-actions[bot]"
45-
git config user.email "github-actions[bot]@users.noreply.github.com"
46-
git add website/public/wasm/gosqlx.wasm website/public/wasm/wasm_exec.js
47-
if git diff --cached --quiet; then
48-
echo "WASM unchanged, skipping commit"
49-
else
50-
git commit -m "chore(wasm): rebuild gosqlx.wasm from updated wasm/ source [skip ci]"
51-
git push origin main
52-
fi
53-
5442
- name: Setup Node
5543
uses: actions/setup-node@v4
5644
with:

0 commit comments

Comments
 (0)