From d15fc1142b833843c28ee35e1f928e2bcba8cb8b Mon Sep 17 00:00:00 2001 From: Eugene Talagrand Date: Fri, 21 Nov 2025 17:50:23 -0800 Subject: [PATCH 1/2] ci: Disable release tasks on forks --- .github/workflows/fuzz.yml | 2 ++ .github/workflows/release.yml | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/.github/workflows/fuzz.yml b/.github/workflows/fuzz.yml index 1366778..a782aaa 100644 --- a/.github/workflows/fuzz.yml +++ b/.github/workflows/fuzz.yml @@ -18,6 +18,8 @@ jobs: fuzz: name: Fuzz Testing runs-on: ubuntu-latest + # Only run fuzzing for non-fork repositories to save folks CI credits. + if: github.event.repository.fork == false strategy: fail-fast: false matrix: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bf3225c..99b834c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,6 +15,9 @@ jobs: create-release: name: Create Release runs-on: ubuntu-latest + # Only run in non-fork repositories (e.g., the canonical repo), + # so tags in forks don't create upstream-style releases. + if: github.event.repository.fork == false outputs: upload_url: ${{ steps.create_release.outputs.upload_url }} @@ -50,6 +53,8 @@ jobs: publish-crate: name: Publish to crates.io runs-on: ubuntu-latest + # crates.io publishing is only meaningful for non-fork roots + if: github.event.repository.fork == false needs: create-release steps: @@ -68,6 +73,8 @@ jobs: build-binaries: name: Build Release Binaries runs-on: ${{ matrix.os }} + # Only build and upload release binaries for non-fork repositories + if: github.event.repository.fork == false needs: create-release strategy: matrix: From 0900e5cbb50746d8f3966d7ae3ad6ecd9b80f099 Mon Sep 17 00:00:00 2001 From: Eugene Talagrand Date: Fri, 21 Nov 2025 20:42:49 -0800 Subject: [PATCH 2/2] chore: Bump to 0.2.1 to trigger new release --- Cargo.lock | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 308e380..8553d67 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -161,7 +161,7 @@ dependencies = [ [[package]] name = "rulesxp" -version = "0.2.0" +version = "0.2.1" dependencies = [ "nom", "rustyline", diff --git a/Cargo.toml b/Cargo.toml index 16081da..4db6ff5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rulesxp" -version = "0.2.0" +version = "0.2.1" edition = "2024" rust-version = "1.90" description = "Multi-language rules expression evaluator supporting JSONLogic and Scheme with strict typing"