From 6a33e5318b7e89316dab947e8697818e45530907 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 20 Oct 2020 21:10:25 -0400 Subject: [PATCH] chore: Don't upload artifacts on PRs --- .github/workflows/alpine.yml | 1 + .github/workflows/linux.yml | 1 + .github/workflows/macos.yml | 1 + .github/workflows/windows.yml | 1 + 4 files changed, 4 insertions(+) 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: |