From dbfcdb21ff72498edd1aebe775248090511c1866 Mon Sep 17 00:00:00 2001 From: snomiao Date: Sun, 27 Jul 2025 14:15:38 +0000 Subject: [PATCH] chore(publish): update workflow for node publishing - Add permissions for issue writing in the workflow - Set condition to run job only for 'crystian' repository owner - Update action version from 'main' to 'v1' for stability and consistency --- .github/workflows/publish.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index be0b02f..619db8c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -7,14 +7,18 @@ on: paths: - "pyproject.toml" +permissions: + issues: write + jobs: publish-node: name: Publish Custom Node to registry runs-on: ubuntu-latest + if: ${{ github.repository_owner == 'crystian' }} steps: - name: Check out code uses: actions/checkout@v4 - name: Publish Custom Node - uses: Comfy-Org/publish-node-action@main + uses: Comfy-Org/publish-node-action@v1 with: personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }}