Skip to content

Conversation

@dmathieu
Copy link
Member

@dmathieu dmathieu commented Sep 2, 2024

With the write option, codespell fixes issues (which is a nice behavior when we run it locally), but it also returns a 0 status code (except if some failures couldn't be fixed).

So in order to actually fix the CI on a failing codespell, we need to ensure the working directory is clean.

@dmathieu dmathieu added Skip Changelog PRs that do not require a CHANGELOG.md entry Unlock Released Changelog PRs that need to change released section in CHANGELOG.md and removed Unlock Released Changelog PRs that need to change released section in CHANGELOG.md labels Sep 2, 2024
@codecov
Copy link

codecov bot commented Sep 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.6%. Comparing base (932a4d8) to head (c8c6022).
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@          Coverage Diff          @@
##            main   #5761   +/-   ##
=====================================
  Coverage   84.5%   84.6%           
=====================================
  Files        272     272           
  Lines      22759   22759           
=====================================
+ Hits       19252   19255    +3     
+ Misses      3167    3164    -3     
  Partials     340     340           

see 2 files with indirect coverage changes

@dmathieu dmathieu marked this pull request as ready for review September 2, 2024 12:15
@dmathieu dmathieu merged commit 38dfcb2 into open-telemetry:main Sep 3, 2024
@dmathieu dmathieu deleted the codespell-failure branch September 3, 2024 12:50
dmathieu added a commit to open-telemetry/opentelemetry-go-contrib that referenced this pull request Sep 3, 2024
With the `write` option, codespell fixes issues (which is a nice
behavior when we run it locally), but it also returns a 0 status code
(except if some failures couldn't be fixed).

So in order to actually fix the CI on a failing codespell, we need to
ensure the working directory is clean.

SDK counterpart:
open-telemetry/opentelemetry-go#5761
@XSAM XSAM added this to the v1.30.0 milestone Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Skip Changelog PRs that do not require a CHANGELOG.md entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants