diff --git a/.github/workflows/ci_aarch64_build_ubuntu.yaml b/.github/workflows/ci_aarch64_build_ubuntu.yaml index 7cc4958a8f..ceb270d7d5 100644 --- a/.github/workflows/ci_aarch64_build_ubuntu.yaml +++ b/.github/workflows/ci_aarch64_build_ubuntu.yaml @@ -17,6 +17,7 @@ env: jobs: ci_aarch64_build_ubuntu: name: ci_aarch64_build_ubuntu + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository runs-on: ${{ github.repository_owner == 'nervosnetwork' && 'self-hosted-ci-ubuntu-20.04' || 'ubuntu-22.04' }} steps: - name: Free up disk space diff --git a/.github/workflows/ci_benchmarks_macos.yaml b/.github/workflows/ci_benchmarks_macos.yaml index d5c85b88cf..50bac47ede 100644 --- a/.github/workflows/ci_benchmarks_macos.yaml +++ b/.github/workflows/ci_benchmarks_macos.yaml @@ -17,6 +17,7 @@ env: jobs: ci_benchmarks_macos: name: ci_benchmarks_macos + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository runs-on: macos-15 steps: - name: Free up disk space diff --git a/.github/workflows/ci_benchmarks_ubuntu.yaml b/.github/workflows/ci_benchmarks_ubuntu.yaml index 204102f812..821768adcb 100644 --- a/.github/workflows/ci_benchmarks_ubuntu.yaml +++ b/.github/workflows/ci_benchmarks_ubuntu.yaml @@ -16,6 +16,7 @@ env: jobs: ci_benchmarks_ubuntu: name: ci_benchmarks_ubuntu + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository runs-on: ${{ github.repository_owner == 'nervosnetwork' && 'self-hosted-ci-ubuntu-20.04' || 'ubuntu-22.04' }} steps: - name: Free up disk space diff --git a/.github/workflows/ci_benchmarks_windows.yaml b/.github/workflows/ci_benchmarks_windows.yaml index 57f6c85a28..a0a57ebfb7 100644 --- a/.github/workflows/ci_benchmarks_windows.yaml +++ b/.github/workflows/ci_benchmarks_windows.yaml @@ -17,6 +17,7 @@ env: jobs: ci_benchmarks_windows: name: ci_benchmarks_windows + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository runs-on: windows-2022 steps: - name: Free up disk space diff --git a/.github/workflows/ci_cargo_deny_ubuntu.yaml b/.github/workflows/ci_cargo_deny_ubuntu.yaml index cbe53e16de..cba013bbe5 100644 --- a/.github/workflows/ci_cargo_deny_ubuntu.yaml +++ b/.github/workflows/ci_cargo_deny_ubuntu.yaml @@ -17,6 +17,7 @@ env: jobs: ci_cargo_deny_ubuntu: name: ci_cargo_deny_ubuntu + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository runs-on: ${{ github.repository_owner == 'nervosnetwork' && 'self-hosted-ci-ubuntu-20.04' || 'ubuntu-22.04' }} steps: - name: Free up disk space diff --git a/.github/workflows/ci_integration_tests_macos.yaml b/.github/workflows/ci_integration_tests_macos.yaml index 56dc146465..44a9038d10 100644 --- a/.github/workflows/ci_integration_tests_macos.yaml +++ b/.github/workflows/ci_integration_tests_macos.yaml @@ -18,6 +18,7 @@ env: jobs: ci_integration_tests_macos: name: ci_integration_tests_macos + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository timeout-minutes: 140 runs-on: macos-15 steps: diff --git a/.github/workflows/ci_integration_tests_ubuntu.yaml b/.github/workflows/ci_integration_tests_ubuntu.yaml index fb23664b65..962b8dfa1e 100644 --- a/.github/workflows/ci_integration_tests_ubuntu.yaml +++ b/.github/workflows/ci_integration_tests_ubuntu.yaml @@ -18,6 +18,7 @@ env: jobs: ci_integration_tests_ubuntu: name: ci_integration_tests_ubuntu + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository timeout-minutes: 140 runs-on: ${{ github.repository_owner == 'nervosnetwork' && 'self-hosted-ci-ubuntu-20.04' || 'ubuntu-22.04' }} steps: @@ -72,6 +73,7 @@ jobs: du -sh target/*/ 2>/dev/null || echo "No subdirectories in target/" ci_cli_bats_test: name: ci_cli_bats_test + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository runs-on: ${{ github.repository_owner == 'nervosnetwork' && 'self-hosted-ci-ubuntu-20.04' || 'ubuntu-22.04' }} steps: - name: Free up disk space diff --git a/.github/workflows/ci_integration_tests_windows.yaml b/.github/workflows/ci_integration_tests_windows.yaml index 745052ad9a..015a4c93d6 100644 --- a/.github/workflows/ci_integration_tests_windows.yaml +++ b/.github/workflows/ci_integration_tests_windows.yaml @@ -18,6 +18,7 @@ env: jobs: ci_integration_tests_windows: name: ci_integration_tests_windows + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository runs-on: windows-2022 timeout-minutes: 140 steps: diff --git a/.github/workflows/ci_linters_macos.yaml b/.github/workflows/ci_linters_macos.yaml index 7236cd4c0d..93f7cdc8a0 100644 --- a/.github/workflows/ci_linters_macos.yaml +++ b/.github/workflows/ci_linters_macos.yaml @@ -17,6 +17,7 @@ env: jobs: ci_linters_macos: name: ci_linters_macos + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository runs-on: macos-15 steps: - name: Free up disk space diff --git a/.github/workflows/ci_linters_ubuntu.yaml b/.github/workflows/ci_linters_ubuntu.yaml index fce29f6a3b..854b08dd9c 100644 --- a/.github/workflows/ci_linters_ubuntu.yaml +++ b/.github/workflows/ci_linters_ubuntu.yaml @@ -17,6 +17,7 @@ env: jobs: ci_linters_ubuntu: name: ci_linters_ubuntu + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository runs-on: ${{ github.repository_owner == 'nervosnetwork' && 'self-hosted-ci-ubuntu-20.04' || 'ubuntu-22.04' }} steps: - name: Free up disk space diff --git a/.github/workflows/ci_quick_checks_macos.yaml b/.github/workflows/ci_quick_checks_macos.yaml index 248656335f..166631d337 100644 --- a/.github/workflows/ci_quick_checks_macos.yaml +++ b/.github/workflows/ci_quick_checks_macos.yaml @@ -17,6 +17,7 @@ env: jobs: ci_quick_checks_macos: name: ci_quick_checks_macos + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository runs-on: macos-15 steps: - name: Free up disk space diff --git a/.github/workflows/ci_quick_checks_ubuntu.yaml b/.github/workflows/ci_quick_checks_ubuntu.yaml index aa6f6c29f2..a63ee5975f 100644 --- a/.github/workflows/ci_quick_checks_ubuntu.yaml +++ b/.github/workflows/ci_quick_checks_ubuntu.yaml @@ -17,6 +17,7 @@ env: jobs: ci_quick_checks_ubuntu: name: ci_quick_checks_ubuntu + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository runs-on: ${{ github.repository_owner == 'nervosnetwork' && 'self-hosted-ci-ubuntu-20.04' || 'ubuntu-22.04' }} steps: - name: Free up disk space diff --git a/.github/workflows/ci_unit_tests_macos.yaml b/.github/workflows/ci_unit_tests_macos.yaml index 8c47e154b4..51208ebafd 100644 --- a/.github/workflows/ci_unit_tests_macos.yaml +++ b/.github/workflows/ci_unit_tests_macos.yaml @@ -17,6 +17,7 @@ env: jobs: ci_unit_tests_macos: name: ci_unit_tests_macos + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository runs-on: macos-15 steps: - name: Free up disk space diff --git a/.github/workflows/ci_unit_tests_ubuntu.yaml b/.github/workflows/ci_unit_tests_ubuntu.yaml index 4186bad294..4a07d0fc85 100644 --- a/.github/workflows/ci_unit_tests_ubuntu.yaml +++ b/.github/workflows/ci_unit_tests_ubuntu.yaml @@ -17,6 +17,7 @@ env: jobs: ci_unit_tests_ubuntu: name: ci_unit_tests_ubuntu + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository runs-on: ${{ github.repository_owner == 'nervosnetwork' && 'self-hosted-ci-ubuntu-20.04' || 'ubuntu-22.04' }} steps: - name: Free up disk space diff --git a/.github/workflows/ci_unit_tests_windows.yaml b/.github/workflows/ci_unit_tests_windows.yaml index 59df366341..12a2e52993 100644 --- a/.github/workflows/ci_unit_tests_windows.yaml +++ b/.github/workflows/ci_unit_tests_windows.yaml @@ -17,6 +17,7 @@ env: jobs: ci_unit_tests_windows: name: ci_unit_tests_windows + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository runs-on: windows-2022 steps: - name: Free up disk space