yorkie-team / yorkie

Yorkie is a document store for collaborative applications.
https://yorkie.dev
Apache License 2.0
748 stars 134 forks source link

Run CI Only on Code Level Change PR #873

Closed krapie closed 3 weeks ago

krapie commented 1 month ago

Description:

Adjusting CI configuration to trigger builds only on code-level changes.

Currently CI is running on every PR we are making. This is because CI is configured to be triggered on every pull requests.

name: CI

on:
  push:
    branches: [ main ]
  pull_request:
    branches: [ main ]
...

We can adjust this configuration to trigger CI only on code level changes. We do not have to run CI on other PR like documentation.

This optimization should also be applied to other repositories as well.

Why:

Improving CI efficiency by avoiding unnecessary build runs on PRs without code changes.

kokodak commented 3 weeks ago

Hello, Could I work on this issue?

krapie commented 3 weeks ago

@kokodak Of course you can :)