Skip to content
Merged
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
28 changes: 0 additions & 28 deletions .github/actions/wait-for-netlify-preview/action.yml

This file was deleted.

2 changes: 2 additions & 0 deletions .github/workflows/db_ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ on:
- main
paths:
- supabase/**
- .github/workflows/db_ci.yaml
pull_request:
paths:
- supabase/**
- .github/workflows/db_ci.yaml

jobs:
tests:
Expand Down
44 changes: 44 additions & 0 deletions .github/workflows/desktop_ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,61 @@ on:
- main
paths:
- apps/desktop/**
- packages/api-client/**
- packages/changelog/**
- packages/codemirror/**
- packages/db/**
- packages/db-react/**
- packages/db-runtime/**
- packages/db-tauri/**
- packages/editor/**
- packages/pricing/**
- packages/store/**
- packages/supabase/**
- packages/tinybase-utils/**
- packages/tiptap/**
- packages/ui/**
- packages/utils/**
- plugins/**
- crates/**
- Cargo.toml
- Cargo.lock
- package.json
- pnpm-workspace.yaml
- turbo.json
- .github/workflows/desktop_ci.yaml
- .github/actions/pnpm_install/**
- .github/actions/install_desktop_deps/**
- .github/actions/rust_install/**
pull_request:
paths:
- apps/desktop/**
- packages/api-client/**
- packages/changelog/**
- packages/codemirror/**
- packages/db/**
- packages/db-react/**
- packages/db-runtime/**
- packages/db-tauri/**
- packages/editor/**
- packages/pricing/**
- packages/store/**
- packages/supabase/**
- packages/tinybase-utils/**
- packages/tiptap/**
- packages/ui/**
- packages/utils/**
- plugins/**
- crates/**
- Cargo.toml
- Cargo.lock
- package.json
- pnpm-workspace.yaml
- turbo.json
- .github/workflows/desktop_ci.yaml
- .github/actions/pnpm_install/**
- .github/actions/install_desktop_deps/**
- .github/actions/rust_install/**
jobs:
desktop_ci:
if: ${{ !startsWith(github.head_ref || '', 'blog/') }}
Expand Down
49 changes: 48 additions & 1 deletion .github/workflows/fmt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,55 @@ on:
push:
branches:
- main
- .github/workflows/fmt.yaml
paths:
- "**/*.css"
- "**/*.html"
- "**/*.jinja"
- "**/*.js"
- "**/*.json"
- "**/*.jsx"
- "**/*.md"
- "**/*.mdx"
- "**/*.mjs"
- "**/*.mts"
- "**/*.rs"
- "**/*.swift"
- "**/*.toml"
- "**/*.ts"
- "**/*.tsx"
- "**/*.wxl"
- "**/*.wxs"
- "**/*.yaml"
- "**/*.yml"
- "!**/*-lock.json"
- "!**/*-lock.yaml"
- dprint.json
- .oxfmtrc.json
pull_request:
paths:
- "**/*.css"
- "**/*.html"
- "**/*.jinja"
- "**/*.js"
- "**/*.json"
- "**/*.jsx"
- "**/*.md"
- "**/*.mdx"
- "**/*.mjs"
- "**/*.mts"
- "**/*.rs"
- "**/*.swift"
- "**/*.toml"
- "**/*.ts"
- "**/*.tsx"
- "**/*.wxl"
- "**/*.wxs"
- "**/*.yaml"
- "**/*.yml"
- "!**/*-lock.json"
- "!**/*-lock.yaml"
- dprint.json
- .oxfmtrc.json

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Format CI paths filter missing Python and Dockerfile patterns

Low Severity

The new paths filter in fmt.yaml doesn't include **/*.py or **/Dockerfile*, but dprint.json configures both the ruff plugin (for Python) and the dockerfile plugin. The repo contains several .py files (e.g. in scripts/) and Dockerfile files (e.g. in apps/api/, apps/stripe/). A PR that exclusively modifies these file types won't trigger the format CI at all, allowing formatting violations to be merged.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit b403bfc. Configure here.

jobs:
fmt:
runs-on: depot-ubuntu-24.04-4
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,21 @@ on:
push:
branches:
- main
paths:
- apps/desktop/src/**
- apps/desktop/tsconfig*.json
- .oxlintrc.json
- eslint.config.js
- eslint-plugin-hypr.mjs
- .github/workflows/lint.yaml
pull_request:
paths:
- apps/desktop/src/**
- apps/desktop/tsconfig*.json
- .oxlintrc.json
- eslint.config.js
- eslint-plugin-hypr.mjs
- .github/workflows/lint.yaml
jobs:
lint:
runs-on: depot-ubuntu-24.04-4
Expand Down
39 changes: 28 additions & 11 deletions .github/workflows/web_ci.yaml
Original file line number Diff line number Diff line change
@@ -1,31 +1,48 @@
name: web_ci

# https://github.com/tauri-apps/tauri-action/blob/3013cac/examples/test-build-only.yml
on:
workflow_dispatch:
push:
branches:
- main
paths:
- apps/web/**
- packages/**
- packages/api-client/**
- packages/changelog/**
- packages/pricing/**
- packages/supabase/**
- packages/tiptap/**
- packages/ui/**
- packages/utils/**
- plugins/auth/**
- plugins/deeplink2/**
- package.json
- pnpm-workspace.yaml
- turbo.json
- .github/workflows/web_ci.yaml
- .github/actions/pnpm_install/**
pull_request:
paths:
- apps/web/**
- packages/**
- packages/api-client/**
- packages/changelog/**
- packages/pricing/**
- packages/supabase/**
- packages/tiptap/**
- packages/ui/**
- packages/utils/**
- plugins/auth/**
- plugins/deeplink2/**
- package.json
- pnpm-workspace.yaml
- turbo.json
- .github/workflows/web_ci.yaml
- .github/actions/pnpm_install/**
jobs:
ci:
runs-on: depot-ubuntu-24.04-4
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/pnpm_install
- uses: denoland/setup-deno@v2
- run: pnpm -F ui build
- run: pnpm -F web typecheck
- uses: ./.github/actions/wait-for-netlify-preview
if: github.event_name == 'pull_request'
- if: github.event_name == 'push' && github.ref == 'refs/heads/main'
run: echo "BASE_URL=https://hyprnote.netlify.app" >> "$GITHUB_ENV"
- run: pnpm exec playwright install --with-deps chromium
working-directory: apps/web
- run: pnpm -F web test
6 changes: 6 additions & 0 deletions .github/workflows/zizmor.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
on:
push:
branches: ["main"]
paths:
- .github/workflows/**
- .github/actions/**
pull_request:
paths:
- .github/workflows/**
- .github/actions/**

jobs:
zizmor:
Expand Down
Loading