From 6d013ce2d8bdb9380b0dfd41a0a9d5e942d9b682 Mon Sep 17 00:00:00 2001 From: Haoming Date: Tue, 9 Jul 2024 18:01:41 +0800 Subject: [PATCH] streamline --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a4fd892..66870fc 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -4,7 +4,6 @@ on: push: branches: - main - - master paths: - "pyproject.toml" @@ -12,11 +11,12 @@ jobs: publish-node: name: Publish Custom Node to registry runs-on: ubuntu-latest + # Skip forked repository + if: github.event.repository.fork == false steps: - name: Check out code uses: actions/checkout@v4 - name: Publish Custom Node uses: Comfy-Org/publish-node-action@main with: - ## Add your own personal access token to your Github Repository secrets and reference it here. personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }}