diff --git a/.github/workflows/alpine.yml b/.github/workflows/alpine.yml index 7701bd0f9..d95a1f53d 100644 --- a/.github/workflows/alpine.yml +++ b/.github/workflows/alpine.yml @@ -40,6 +40,7 @@ jobs: run: npm test - uses: actions/upload-artifact@v2 + if: github.repository_owner == 'sass' && github.event_name != 'pull_request' with: name: ${{ matrix.node }} path: vendor/ diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 4e60f0a46..2aff8b056 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -54,6 +54,7 @@ jobs: run: npm test - uses: actions/upload-artifact@v2 + if: github.repository_owner == 'sass' && github.event_name != 'pull_request' with: name: ${{ matrix.node }} path: vendor/ diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 9bdf993c4..5d80a66e2 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -35,6 +35,7 @@ jobs: run: npm test - uses: actions/upload-artifact@v2 + if: github.repository_owner == 'sass' && github.event_name != 'pull_request' with: name: ${{ matrix.node }} path: vendor/ diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index dd75e4d19..4267e3dd3 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -35,6 +35,7 @@ jobs: run: npm test - uses: actions/upload-artifact@v2 + if: github.repository_owner == 'sass' && github.event_name != 'pull_request' with: name: ${{ matrix.node }} path: |