yonahd / kor

A Golang Tool to discover unused Kubernetes Resources
MIT License
974 stars 91 forks source link

ci: skip running go checks when no relevant files were changed #254

Closed cecobask closed 5 months ago

cecobask commented 5 months ago

What this PR does / why we need it

Skip triggering CI checks when no .go files were changed in pull requests. For example, this pull request doesn't require any go checks but they still ran: https://github.com/yonahd/kor/pull/251

PR Checklist

Github Issue

[XX-XX]

Notes for your reviewers

codecov-commenter commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 43.60%. Comparing base (333b525) to head (52e27a7).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #254 +/- ## ======================================= Coverage 43.60% 43.60% ======================================= Files 58 58 Lines 2768 2768 ======================================= Hits 1207 1207 Misses 1382 1382 Partials 179 179 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.