mirror of
https://github.com/open-webui/open-webui.git
synced 2026-06-02 23:08:26 -05:00
[PR #13] [MERGED] chore: add fmt to github actions #91143
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/13
Author: @coolaj86
Created: 10/22/2023
Status: ✅ Merged
Merged: 10/22/2023
Merged by: @tjbck
Base:
main← Head:chore-fmt📝 Commits (3)
2eea764fix: contants => constantsd188512chore: npm run fmtee63832chore: check PRs for fmt, lint, & build📊 Changes
8 files changed (+95 additions, -66 deletions)
View changed files
➕
.github/workflows/node.js.yaml(+25 -0)📝
package.json(+6 -2)📝
postcss.config.js(+5 -5)📝
src/lib/components/common/Overlay.svelte(+33 -33)📝
src/lib/components/common/Spinner.svelte(+24 -24)📝
src/lib/constants.ts(+0 -0)📝
src/routes/+page.server.ts(+1 -1)📝
src/routes/+page.svelte(+1 -1)📄 Description
I noticed that the other PR had whitespace changes in it, which probably came from my editor being incorrect, or a mismatch of
prettier@3on your local machine andprettier@2in the repo.I didn't update this to
prettier@3because it's pretty new (less than 3 months, I think) I don't know if v3 is compatible with all the svelte plugins.Anyway, you can set it such that PRs need to pass lint and fmt before they can be rebased into main.
I was going to add the lint and type checking as well, but there many type and lint errors that would need to be fixed first.
https://github.com/ollama-webui/ollama-webui/branch_protection_rules/
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.