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 }}