Skip to content

Commit

Permalink
ci : do not run on drafts
Browse files Browse the repository at this point in the history
  • Loading branch information
ggerganov committed Apr 17, 2023
1 parent b4c74b7 commit ef5b539
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ env:

jobs:
ubuntu-latest-make:
if: github.event.pull_request.draft == false

runs-on: ubuntu-latest

steps:
Expand All @@ -37,6 +39,8 @@ jobs:
make
ubuntu-latest-cmake:
if: github.event.pull_request.draft == false

runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -65,6 +69,8 @@ jobs:
ctest --verbose
ubuntu-latest-cmake-sanitizer:
if: github.event.pull_request.draft == false

runs-on: ubuntu-latest

continue-on-error: true
Expand Down Expand Up @@ -101,6 +107,8 @@ jobs:
ctest --verbose
macOS-latest-make:
if: github.event.pull_request.draft == false

runs-on: macos-latest

steps:
Expand All @@ -119,6 +127,8 @@ jobs:
make
macOS-latest-cmake:
if: github.event.pull_request.draft == false

runs-on: macOS-latest

steps:
Expand Down Expand Up @@ -146,6 +156,8 @@ jobs:
ctest --verbose
windows-latest-cmake:
if: github.event.pull_request.draft == false

runs-on: windows-latest

strategy:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ on:
jobs:
push_to_registry:
name: Push Docker image to Docker Hub
if: github.event.pull_request.draft == false

runs-on: ubuntu-latest
env:
COMMIT_SHA: ${{ github.sha }}
Expand Down

0 comments on commit ef5b539

Please sign in to comment.