Skip to content

Commit

Permalink
Optimize CI Workflows to remove redundant runs (#9052)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanfoxtyler authored Mar 14, 2024
1 parent ec08d12 commit b908da1
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 38 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/ci-dgraph-load-tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: ci-dgraph-load-tests
on:
push:
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
paths-ignore:
- '.github/CODEOWNERS'
- '.vscode/**'
Expand All @@ -22,17 +27,6 @@ on:
branches:
- main
- 'release/**'
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
branches:
- main
- 'release/**'
schedule:
- cron: "0 0 * * *" # 1 run per day
jobs:
dgraph-load-tests:
if: github.event.pull_request.draft == false
Expand Down
18 changes: 6 additions & 12 deletions .github/workflows/ci-dgraph-tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: ci-dgraph-tests
on:
push:
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
paths-ignore:
- '.github/CODEOWNERS'
- '.vscode/**'
Expand All @@ -22,17 +27,6 @@ on:
branches:
- main
- 'release/**'
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
branches:
- main
- 'release/**'
schedule:
- cron: "0 0 * * *" # 1 run per day
jobs:
dgraph-tests:
if: github.event.pull_request.draft == false
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/ci-dgraph-upgrade-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ on:
- reopened
- synchronize
- ready_for_review
schedule:
- cron: "0 0 * * *" # 1 run per day
jobs:
dgraph-upgrade-tests:
if: github.event.pull_request.draft == false
Expand Down
18 changes: 6 additions & 12 deletions .github/workflows/ci-golang-lint.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: ci-golang-lint
on:
push:
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
paths-ignore:
- '.github/CODEOWNERS'
- '.vscode/**'
Expand All @@ -22,17 +27,6 @@ on:
branches:
- main
- 'release/**'
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
branches:
- main
- 'release/**'
schedule:
- cron: "0 0 * * *"
jobs:
golang-lint:
if: github.event.pull_request.draft == false
Expand Down

0 comments on commit b908da1

Please sign in to comment.