From 0e48aaa3e4f1e440a5d7ab42df56b728ced03aca Mon Sep 17 00:00:00 2001 From: Robin Huang Date: Tue, 1 Apr 2025 06:48:32 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=F0=9F=A4=96=20update=20publish=20action?= =?UTF-8?q?=20workflow=20with=20permissions=20and=20version=20constraints?= =?UTF-8?q?=20(#237)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: snomiao Co-authored-by: Mel Massadian --- .github/workflows/publish_action.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish_action.yml b/.github/workflows/publish_action.yml index ac5fac7..6108993 100644 --- a/.github/workflows/publish_action.yml +++ b/.github/workflows/publish_action.yml @@ -5,16 +5,20 @@ on: tags: - '*' +permissions: + issues: write + jobs: publish-node: name: Publish Custom Node to registry runs-on: ubuntu-latest + if: ${{ github.repository_owner == 'melMass' }} steps: - name: ♻️ Check out code uses: actions/checkout@v4 with: submodules: true - name: 📦 Publish Custom Node - uses: Comfy-Org/publish-node-action@main + uses: Comfy-Org/publish-node-action@v1 with: personal_access_token: ${{ secrets.COMFY_REGISTRY_TOKEN }}