diff --git a/.github/workflows/ci-contracts-upload-binaries.yml b/.github/workflows/ci-contracts-upload-binaries.yml index fdac311de7..f3d6d827cc 100644 --- a/.github/workflows/ci-contracts-upload-binaries.yml +++ b/.github/workflows/ci-contracts-upload-binaries.yml @@ -22,6 +22,8 @@ jobs: platform: [ubuntu-20.04] runs-on: ${{ matrix.platform }} + # a push event from the origin repo, or a PR from external repo + if: ${{ github.event_name == 'push' || github.event.pull_request.head.repo.full_name != 'nymtech/nym' }} steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/ci-nym-wallet-rust.yml b/.github/workflows/ci-nym-wallet-rust.yml index 9a207334bd..25c5f544d3 100644 --- a/.github/workflows/ci-nym-wallet-rust.yml +++ b/.github/workflows/ci-nym-wallet-rust.yml @@ -19,6 +19,8 @@ jobs: runs-on: [ self-hosted, custom-linux ] # env: # RUSTC_WRAPPER: /home/ubuntu/.cargo/bin/sccache + # a push event from the origin repo, or a PR from external repo + if: ${{ github.event_name == 'push' || github.event.pull_request.head.repo.full_name != 'nymtech/nym' }} steps: - name: Install Dependencies (Linux) run: sudo apt-get update && sudo apt-get -y install libwebkit2gtk-4.0-dev build-essential curl wget libssl-dev libgtk-3-dev squashfs-tools