Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run CI Only on Code Level Change PR #873

Closed
krapie opened this issue May 23, 2024 · 2 comments · Fixed by #906
Closed

Run CI Only on Code Level Change PR #873

krapie opened this issue May 23, 2024 · 2 comments · Fixed by #906
Assignees
Labels
enhancement 🌟 New feature or request good first issue 🐤 Good for newcomers

Comments

@krapie
Copy link
Member

krapie commented May 23, 2024

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
Copy link
Member

kokodak commented Jun 24, 2024

Hello, Could I work on this issue?

@krapie
Copy link
Member Author

krapie commented Jun 24, 2024

@kokodak Of course you can :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement 🌟 New feature or request good first issue 🐤 Good for newcomers
Projects
Status: Done
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants