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
5 changes: 5 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ jobs:
- name: Install dependencies
run: pnpm install

- name: Debug DATABASE_URL
run: |
echo "DATABASE_URL=$DATABASE_URL"
node -e "console.log(process.env.DATABASE_URL)"
Comment on lines +51 to +54

Choose a reason for hiding this comment

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

P1 Badge Remove DATABASE_URL logging from CI

This step prints DATABASE_URL directly into GitHub Actions logs, which can expose credentials when the variable is a secret (common for database URLs). Anyone with access to workflow logs can read it, and logs can be retained or shared outside the team. If you need to validate presence, prefer masking or only checking that it is set without outputting the value.

Useful? React with 👍 / 👎.


- name: Generate Prisma client
run: pnpm prisma generate

Expand Down
1 change: 1 addition & 0 deletions src/app/(site)/login/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export default function LoginPage() {
}

router.push("/app");
router.refresh();
}
catch {
setError("Something went wrong. Please try again.");
Expand Down
Loading