Skip to content

Commit

Permalink
Reduce the number of CI jobs that are run on PRs (#375)
Browse files Browse the repository at this point in the history
## Type of change
```
- [ ] Bug fix
- [ ] New feature development
- [ ] Tech debt (refactoring, code cleanup, dependency upgrades, etc)
- [x] Build/deploy pipeline (DevOps)
- [ ] Other
```

## Objective
With the recent addition of all the SDK language bindings, we've added a
lot of CI jobs on PRs that are unnecessary and slow down builds. By
switching them to run only on merge we should save some CI time.

Ultimately, we'd want some way to make it so that the `Build Rust Cross
Platform` get only called once and reused for every language SDK, but
for now this should help.
  • Loading branch information
dani-garcia authored Dec 1, 2023
1 parent 12fa28a commit 20c38c9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-dotnet.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Build .NET SDK

on:
pull_request:
push:
branches:
- master

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-java.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Build Java SDK

on:
pull_request:
push:
branches:
- master

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-php.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Publish PHP SDK

on:
pull_request:
push:
branches:
- master

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-ruby.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Publish Ruby SDK

on:
pull_request:
push:
branches:
- master

Expand Down

0 comments on commit 20c38c9

Please sign in to comment.