From 2a8f5ab0a68b05667e8d8b23dc8940bb1d428c3f Mon Sep 17 00:00:00 2001 From: Cara Fisher Date: Wed, 17 Apr 2024 13:18:33 +0100 Subject: [PATCH] ci: prevent 'publish' job from running on forks --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b2a2f88a0..ebf95dae5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,6 +11,7 @@ jobs: publish-npm: name: Publish npm package(s) + if: github.repository == 'd3fc/d3fc' needs: build-test-lint runs-on: ubuntu-latest steps: