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
27 changes: 27 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
version: 2
updates:
- package-ecosystem: "bun"
directory: "/"
target-branch: "AgentHits-Dev"
schedule:
interval: "weekly"
day: "monday"
cooldown:
default-days: 3
open-pull-requests-limit: 5
groups:
minor-and-patch:
update-types: ["minor", "patch"]
ignore:
# Major bumps are done by hand, one PR each, after a check on dev.
- dependency-name: "*"
update-types: ["version-update:semver-major"]
# Held back on purpose: these break typecheck, change API behavior or need migrations.
- dependency-name: "better-auth"
update-types: ["version-update:semver-minor"]
- dependency-name: "@better-auth/*"
update-types: ["version-update:semver-minor"]
- dependency-name: "stripe"
- dependency-name: "@stepperize/react"
- dependency-name: "@dokploy/trpc-openapi"
- dependency-name: "ssh2"
18 changes: 17 additions & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,28 @@ name: Pull Request

on:
pull_request:
branches: [main, canary]
branches: [main, canary, AgentHits-Dev]

permissions:
contents: read

jobs:
audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
with:
persist-credentials: false
- uses: oven-sh/setup-bun@v2
with:
bun-version: 1.4.2
# GHSA-vfj7-8cjw-p6xm: braces 3.0.3 (via micromatch) has no patched release yet.
- run: bun audit --audit-level=moderate --ignore GHSA-vfj7-8cjw-p6xm

pr-check:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
job: [build, test, typecheck]
steps:
Expand Down Expand Up @@ -52,3 +65,6 @@ jobs:
- run: bun install --frozen-lockfile
- run: bun run server:build
- run: bun run ${{ matrix.job }}
env:
# The fork's db module throws without a password in production, and the Next build imports it.
POSTGRES_PASSWORD: ${{ matrix.job == 'build' && 'build-time-postgres-password' || '' }}
3 changes: 3 additions & 0 deletions bunfig.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[install]
# Freshly published versions are where hijacked releases live; most get pulled within days.
minimumReleaseAge = 259200
Loading