diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b7297a8b..ab3056f4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -336,9 +336,11 @@ jobs: fi - name: '📸 Upload GUI screenshots' if: | - success() - || steps.setup-chromedriver.outcome == 'success' - || steps.setup-geckodriver.outcome == 'success' + ( + success() + || steps.setup-chromedriver.outcome == 'success' + || steps.setup-geckodriver.outcome == 'success' + ) && github.repository_owner == 'Renumics' uses: LanceMcCarthy/Action-AzureBlobUpload@v2 with: connection_string: ${{ secrets.AZURE_CONNECTION_STRING }} @@ -424,7 +426,7 @@ jobs: # Release stage release: name: '🚀 Release Spotlight' - if: startsWith(github.ref, 'refs/tags/v') + if: startsWith(github.ref, 'refs/tags/v') && github.repository_owner == 'Renumics' needs: - prepare-python - prepare-node diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 5f153c99..45a5776b 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -6,6 +6,7 @@ jobs: # Comment comment-gui-screenshots: name: '🖍 Comment GUI screenshots' + if: github.repository_owner == 'Renumics' permissions: pull-requests: write runs-on: ubuntu-latest