Skip to content

Commit 0abf4a6

Browse files
committed
chore(publish): update workflow permissions and action version for node publishing
1 parent 637bc18 commit 0abf4a6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,19 @@ on:
88
paths:
99
- "pyproject.toml"
1010

11+
permissions:
12+
issues: write
13+
1114
jobs:
1215
publish-node:
1316
name: Publish Custom Node to registry
1417
runs-on: ubuntu-latest
18+
if: ${{ github.repository_owner == 'bash-j' }}
1519
steps:
1620
- name: Check out code
1721
uses: actions/checkout@v4
1822
- name: Publish Custom Node
19-
uses: Comfy-Org/publish-node-action@main
23+
uses: Comfy-Org/publish-node-action@v1
2024
with:
2125
## Add your own personal access token to your Github Repository secrets and reference it here.
2226
personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }}

0 commit comments

Comments
 (0)