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
30 changes: 0 additions & 30 deletions .beads/.gitignore

This file was deleted.

22 changes: 0 additions & 22 deletions .beads/beads.jsonl

This file was deleted.

56 changes: 0 additions & 56 deletions .beads/config.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions .beads/metadata.json

This file was deleted.

2 changes: 1 addition & 1 deletion .claude/commands/automerge.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ This command automates the entire process of getting changes merged into main:
- Alert when merged successfully or if merge fails
9. **Clean up** after successful merge:

- Navigate back to repo root: `cd ../../` (from worktrees/{feature-name} to brownsauce/)
- Navigate back to repo root: `cd ../../` (from worktrees/{feature-name} to eventsourcing/)
- Pull latest changes to main: `git pull origin main`
- Remove the feature worktree: `git worktree remove worktrees/{feature-name}`
- Delete the local feature branch: `git branch -d feat/{feature-name}`
Expand Down
74 changes: 0 additions & 74 deletions .claude/commands/commit-beads.md

This file was deleted.

2 changes: 1 addition & 1 deletion .claude/commands/start.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ IMPORTANT: Always use worktrees for feature development to maintain clean separa
1. **Ensure we're in the repo root and up to date:**
- Run `pwd` to confirm current location
- Run `git fetch origin main` to get latest from remote
- If not in repo root (brownsauce/), navigate back to it first
- If not in repo root (eventsourcing/), navigate back to it first
- Run `git pull origin main` to update main branch

2. **Create new worktree for feature branch:**
Expand Down
3 changes: 0 additions & 3 deletions .gitattributes

This file was deleted.

29 changes: 1 addition & 28 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
image: postgres:18-alpine@sha256:eca6fb2d91fda290eb8cfb8ba53dd0dcbf3508a08011e30adb039ea7c8e1e9f2
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres

Check warning on line 21 in .github/workflows/ci.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

"PASSWORD" detected here, make sure this is not a hard-coded credential.

See more on https://sonarcloud.io/project/issues?id=CodeForBreakfast_eventsourcing&issues=AaDuBjQ8Ha37cbwIN-Lv&open=AaDuBjQ8Ha37cbwIN-Lv&pullRequest=392
POSTGRES_DB: test
ports:
- 5432:5432
Expand All @@ -34,47 +34,20 @@
with:
fetch-depth: 0

- name: Check if beads-only PR
id: beads_check
run: |
# Get list of changed files compared to PR base branch
FILES=$(git diff --name-only origin/${{ github.base_ref }}...HEAD)
echo "Changed files:"
echo "$FILES"

# Check if ONLY .beads/issues.jsonl changed
if [ "$FILES" = ".beads/issues.jsonl" ]; then
echo "beads_only=true" >> $GITHUB_OUTPUT
echo "✓ Beads-only PR detected - will skip CI"
else
echo "beads_only=false" >> $GITHUB_OUTPUT
echo "✓ Code changes detected - will run full CI"
fi

- name: Skip CI for beads-only PR
if: steps.beads_check.outputs.beads_only == 'true'
run: |
echo "✓ Beads-only PR - skipping build, lint, and test"
echo "This PR only changes .beads/issues.jsonl (beads issue tracker database)"
echo "No code validation needed - marking as success"
exit 0

- name: Setup
if: steps.beads_check.outputs.beads_only == 'false'
uses: ./.github/actions/setup
with:
turbo-cache-key: 'ci'

- name: Validate release readiness
if: steps.beads_check.outputs.beads_only == 'false' && github.event_name == 'pull_request'
if: github.event_name == 'pull_request'
run: bun run release:validate

- name: Build, lint, test, and validate architecture
if: steps.beads_check.outputs.beads_only == 'false'
run: bun run all
env:
TEST_PG_USERNAME: postgres
TEST_PG_PASSWORD: postgres

Check warning on line 50 in .github/workflows/ci.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

"PASSWORD" detected here, make sure this is not a hard-coded credential.

See more on https://sonarcloud.io/project/issues?id=CodeForBreakfast_eventsourcing&issues=AaDuBjQ8Ha37cbwIN-Lw&open=AaDuBjQ8Ha37cbwIN-Lw&pullRequest=392
TEST_PG_DATABASE: test
TEST_PG_HOST: localhost
TEST_PG_PORT: 5432
29 changes: 0 additions & 29 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,52 +23,23 @@ jobs:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0

- name: Check if beads-only commit
id: beads_check
run: |
# Get list of changed files in the last commit
FILES=$(git diff --name-only HEAD~1 HEAD)
echo "Changed files in last commit:"
echo "$FILES"

# Check if ONLY .beads/issues.jsonl changed
if [ "$FILES" = ".beads/issues.jsonl" ]; then
echo "beads_only=true" >> $GITHUB_OUTPUT
echo "✓ Beads-only commit detected - will skip release"
else
echo "beads_only=false" >> $GITHUB_OUTPUT
echo "✓ Code changes detected - will run release workflow"
fi

- name: Skip release for beads-only commit
if: steps.beads_check.outputs.beads_only == 'true'
run: |
echo "✓ Beads-only commit - skipping release workflow"
echo "This commit only changes .beads/issues.jsonl (beads issue tracker database)"
echo "No packages changed - nothing to release"
exit 0

- name: Setup
if: steps.beads_check.outputs.beads_only == 'false'
uses: ./.github/actions/setup
with:
turbo-cache-key: 'release'

# Generate a GitHub App token for verified commits
- name: Generate GitHub App Token
if: steps.beads_check.outputs.beads_only == 'false'
id: github-app-token
uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2
with:
app-id: ${{ secrets.RELEASE_APP_ID }}
private-key: ${{ secrets.RELEASE_APP_PRIVATE_KEY }}

- name: Auto-generate changeset for dependency updates
if: steps.beads_check.outputs.beads_only == 'false'
run: bun run scripts/auto-generate-dependency-changeset.ts

- name: Create Release Pull Request or Publish to npm
if: steps.beads_check.outputs.beads_only == 'false'
id: changesets
uses: changesets/action@v1
with:
Expand Down
Loading
Loading