Avoid duplicate workflows for local pulls (#2941)
This commit is contained in:
parent
8d0011b96c
commit
94ee64e341
3 changed files with 9 additions and 0 deletions
1
.github/workflows/analyzers.yml
vendored
1
.github/workflows/analyzers.yml
vendored
|
@ -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
|
||||
|
|
4
.github/workflows/rocksdb_tests.yml
vendored
4
.github/workflows/rocksdb_tests.yml
vendored
|
@ -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
|
||||
|
|
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue