diff --git a/.github/workflows/node-installer.yaml b/.github/workflows/node-installer.yaml index 65176191..689ccfb4 100644 --- a/.github/workflows/node-installer.yaml +++ b/.github/workflows/node-installer.yaml @@ -16,6 +16,9 @@ jobs: contents: read packages: write runs-on: ubuntu-latest + # This action requires use of the GITHUB_TOKEN to publish the image + # By default, PRs from forks don't have access, so we only run when the PR branch is on origin. + if: ${{ github.repository_owner == 'spinkube' }} steps: - uses: actions/checkout@v4