From bf009745f24672b86d798e7cdb28a16fdf969a98 Mon Sep 17 00:00:00 2001 From: Nicholas Romero Date: Fri, 23 Jan 2026 12:18:48 -0600 Subject: [PATCH] fix: remove nix result symlink and add dry-run build to release workflow - Remove accidentally committed `result` symlink that pointed to nix store - Add `result` to .gitignore to prevent future accidental commits - Add PR trigger for release.yml changes to catch build issues early Co-Authored-By: Claude Opus 4.5 --- .github/workflows/release.yml | 6 ++++++ .gitignore | 3 +++ result | 1 - 3 files changed, 9 insertions(+), 1 deletion(-) delete mode 120000 result diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 13b1adae..391479aa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,6 +3,10 @@ name: Release to PyPI on: release: types: [published] + # Dry-run build on PRs to catch build issues before release + pull_request: + paths: + - ".github/workflows/release.yml" jobs: build: @@ -37,6 +41,7 @@ jobs: publish: needs: build + if: github.event_name == 'release' runs-on: ubuntu-latest environment: pypi permissions: @@ -53,6 +58,7 @@ jobs: update-homebrew: needs: publish + if: github.event_name == 'release' runs-on: ubuntu-latest steps: - name: Trigger Homebrew formula update diff --git a/.gitignore b/.gitignore index 3dc442c9..8e9811ad 100644 --- a/.gitignore +++ b/.gitignore @@ -69,6 +69,9 @@ dmypy.json # direnv .direnv/ +# Nix build output +result + # Jupyter Notebook .ipynb_checkpoints diff --git a/result b/result deleted file mode 120000 index 9fb3912b..00000000 --- a/result +++ /dev/null @@ -1 +0,0 @@ -/nix/store/hmxjpzgimzyf6gs76blmgxjims86cpq7-python3.11-deepwork-0.5.0 \ No newline at end of file