Skip to content

Commit 0371102

Browse files
authored
Update publish.yml
1 parent 73b7bf0 commit 0371102

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
@@ -7,15 +7,19 @@ on:
77
paths:
88
- "pyproject.toml"
99

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

0 commit comments

Comments
 (0)