diff --git a/.github/workflows/analyzers.yml b/.github/workflows/analyzers.yml index 8bf6a462b..b6e9b3cb2 100644 --- a/.github/workflows/analyzers.yml +++ b/.github/workflows/analyzers.yml @@ -5,6 +5,7 @@ on: [push, pull_request] jobs: clang_format: runs-on: ubuntu-18.04 + if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository steps: - uses: actions/checkout@50fbc62 - name: Get clang-format 8 diff --git a/.github/workflows/rocksdb_tests.yml b/.github/workflows/rocksdb_tests.yml index e9e707496..01f15d3c8 100644 --- a/.github/workflows/rocksdb_tests.yml +++ b/.github/workflows/rocksdb_tests.yml @@ -13,6 +13,7 @@ jobs: env: BOOST_ROOT: /tmp/boost DEADLINE_SCALE_FACTOR: 2 + if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository steps: - uses: actions/checkout@722adc6 - name: Checkout Submodules @@ -25,6 +26,7 @@ jobs: gcc_test: runs-on: ubuntu-18.04 timeout-minutes: 60 + if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository steps: - uses: actions/checkout@722adc6 - name: Checkout Submodules @@ -37,6 +39,7 @@ jobs: clang_test: runs-on: ubuntu-18.04 timeout-minutes: 60 + if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository steps: - uses: actions/checkout@722adc6 - name: Checkout Submodules @@ -52,6 +55,7 @@ jobs: env: RELEASE: 1 DEADLINE_SCALE_FACTOR: 2 + if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository steps: - uses: actions/checkout@722adc6 - name: Windows Defender diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 14f4dfeff..954621227 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,6 +11,7 @@ jobs: runs-on: macOS-latest env: BOOST_ROOT: /tmp/boost + if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository steps: - uses: actions/checkout@722adc6 - name: Checkout Submodules @@ -23,6 +24,7 @@ jobs: gcc_test: runs-on: ubuntu-18.04 timeout-minutes: 60 + if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository steps: - uses: actions/checkout@722adc6 - name: Checkout Submodules @@ -35,6 +37,7 @@ jobs: clang_test: runs-on: ubuntu-18.04 timeout-minutes: 60 + if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository steps: - uses: actions/checkout@722adc6 - name: Checkout Submodules @@ -47,6 +50,7 @@ jobs: windows_test: runs-on: windows-latest timeout-minutes: 60 + if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository steps: - uses: actions/checkout@722adc6 - name: Windows Defender