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
86 changes: 43 additions & 43 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ name: "CodeQL Advanced"

on:
push:
branches: [ "b/devcontainer-setup" ]
branches: ["b/devcontainer-setup"]
pull_request:
branches: [ "b/devcontainer-setup" ]
branches: ["b/devcontainer-setup"]
schedule:
- cron: '16 2 * * 6'
- cron: "16 2 * * 6"

jobs:
analyze:
Expand All @@ -43,8 +43,8 @@ jobs:
fail-fast: false
matrix:
include:
- language: javascript-typescript
build-mode: none
- language: javascript-typescript
build-mode: none
# CodeQL supports the following values keywords for 'language': 'actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'rust', 'swift'
# Use `c-cpp` to analyze code written in C, C++ or both
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
Expand All @@ -54,46 +54,46 @@ jobs:
# If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Checkout repository
uses: actions/checkout@v4

# Add any setup steps before running the `github/codeql-action/init` action.
# This includes steps like installing compilers or runtimes (`actions/setup-node`
# or others). This is typically only required for manual builds.
# - name: Setup runtime (example)
# uses: actions/setup-example@v1
# Add any setup steps before running the `github/codeql-action/init` action.
# This includes steps like installing compilers or runtimes (`actions/setup-node`
# or others). This is typically only required for manual builds.
# - name: Setup runtime (example)
# uses: actions/setup-example@v1

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.

# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality

# If the analyze step fails for one of the languages you are analyzing with
# "We were unable to automatically build your code", modify the matrix above
# to set the build mode to "manual" for that language. Then modify this step
# to build your code.
# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
- name: Run manual build steps
if: matrix.build-mode == 'manual'
shell: bash
run: |
echo 'If you are using a "manual" build mode for one or more of the' \
'languages you are analyzing, replace this with the commands to build' \
'your code, for example:'
echo ' make bootstrap'
echo ' make release'
exit 1
# If the analyze step fails for one of the languages you are analyzing with
# "We were unable to automatically build your code", modify the matrix above
# to set the build mode to "manual" for that language. Then modify this step
# to build your code.
# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
- name: Run manual build steps
if: matrix.build-mode == 'manual'
shell: bash
run: |
echo 'If you are using a "manual" build mode for one or more of the' \
'languages you are analyzing, replace this with the commands to build' \
'your code, for example:'
echo ' make bootstrap'
echo ' make release'
exit 1

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
with:
category: "/language:${{matrix.language}}"
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
with:
category: "/language:${{matrix.language}}"
1 change: 1 addition & 0 deletions .gitig
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ore
Comment thread
billlzzz26 marked this conversation as resolved.
13 changes: 7 additions & 6 deletions apps/web/app/get-started/get-started-flow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import { useCallback, useState } from "react";
import Image from "next/image";
import Link from "next/link";
import { useRouter, useSearchParams } from "next/navigation";
import { Check, Github, Loader2 } from "lucide-react";
import { Check, Loader2, Icon } from "lucide-react";
import { github } from "@lucide/lab";
import { Button } from "@/components/ui/button";
import { Skeleton } from "@/components/ui/skeleton";
import { useSession } from "@/hooks/use-session";
Expand Down Expand Up @@ -304,9 +305,9 @@ function GitHubConnectStep({
className="size-8 rounded-full bg-zinc-800"
/>
) : (
<div className="flex size-8 items-center justify-center rounded-full bg-zinc-800">
<Github className="size-4 text-zinc-400" />
</div>
<div className="flex size-8 items-center justify-center rounded-full bg-zinc-800">
<Icon iconNode={github} className="size-4 text-zinc-400" />
</div>
)}
<div>
<p className="text-sm font-medium text-zinc-200">
Expand Down Expand Up @@ -345,7 +346,7 @@ function GitHubConnectStep({
className="gap-2 border-zinc-700 bg-transparent text-zinc-300 hover:bg-white/5 hover:text-white"
>
<Link href={githubInstallHref}>
<Github className="size-4" />
<Icon iconNode={github} className="size-4" />
Install GitHub App
</Link>
</Button>
Expand Down Expand Up @@ -376,7 +377,7 @@ function GitHubConnectStep({
{isLinking ? (
<Loader2 className="size-4 animate-spin" />
) : (
<Github className="size-4" />
<Icon iconNode={github} className="size-4" />
)}
{forceReconnect ? "Reconnect GitHub" : "Connect GitHub"}
</Button>
Expand Down
11 changes: 11 additions & 0 deletions apps/web/app/terms-of-service/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
export default function TermsOfServicePage() {
return (
<div className="container mx-auto p-8 max-w-3xl pt-24">
<h1 className="text-3xl font-bold mb-6">Terms of Service</h1>
<p className="mb-4 text-muted-foreground">
By using bl1nk-note, you agree to these Terms of Service. This is a
placeholder page. Please update with your actual Terms of Service.
</p>
</div>
);
}
Loading
Loading