Skip to content

Commit

Permalink
fix(cicd): run on draft PRs (#8440)
Browse files Browse the repository at this point in the history
## Problem
draft ci runs need to be enabled because we are closing in for release

## Solution
fix the ci config to enable runs on draft PRs
  • Loading branch information
skrdgraph authored Nov 17, 2022
1 parent 2329f1b commit bf64870
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci-aqua-security-trivy-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ on:
jobs:
build:
name: trivy-tests
if: github.event.pull_request.draft == false
# TODO: uncomment this after release work
# if: github.event.pull_request.draft == false
runs-on: ubuntu-20.04
steps:
- name: Checkout code
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/ci-dgraph-load-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ on:
- cron: "0 * * * *"
jobs:
dgraph-load-tests:
if: github.event.pull_request.draft == false
# TODO: uncomment this after release work
# if: github.event.pull_request.draft == false
runs-on: [self-hosted, x64]
steps:
- uses: actions/checkout@v3
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/ci-dgraph-tests-arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ on:
- cron: "0 * * * *"
jobs:
dgraph-tests:
if: github.event.pull_request.draft == false
# TODO: uncomment this after release work
# if: github.event.pull_request.draft == false
runs-on: [self-hosted, ARM64]
steps:
- uses: actions/checkout@v3
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/ci-dgraph-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ on:
- cron: "0 * * * *"
jobs:
dgraph-tests:
if: github.event.pull_request.draft == false
# TODO: uncomment this after release work
# if: github.event.pull_request.draft == false
runs-on: [self-hosted, x64]
steps:
- uses: actions/checkout@v3
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/ci-golang-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ on:
- cron: "0 * * * *"
jobs:
golang-lint:
if: github.event.pull_request.draft == false
# TODO: uncomment this after release work
# if: github.event.pull_request.draft == false
name: lint
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit bf64870

Please sign in to comment.