diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 45a6ab2..ef59b57 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,6 +11,9 @@ on: pull_request: branches: [ master ] +permissions: + issues: write + jobs: build-and-check: runs-on: ubuntu-latest @@ -39,7 +42,7 @@ jobs: name: "📦 Publish Custom Node to registry" needs: build-and-check runs-on: ubuntu-latest - if: startsWith(github.ref, 'refs/tags/') + if: ${{ github.repository_owner == 'cluny85' && startsWith(github.ref, 'refs/tags/') }} steps: - name: Checkout code uses: actions/checkout@v4