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

chore(ci): Report diff in _diff:fail in GitHub Actions #6012

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jsoref
Copy link
Contributor

@jsoref jsoref commented Jan 21, 2025

The CI does a lot of work to generate output, it's a shame to just throw it all away and say "hey, you need to do something".

With this change, you can get the output in a format that you can then apply:
https://github.com/check-spelling-sandbox/opentelemetry.io/actions/runs/12887761281#summary-35931140960

@jsoref jsoref requested a review from a team as a code owner January 21, 2025 18:15
Copy link
Contributor

@chalin chalin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/hold

I'll give more feedback later. In the meantime, could you move all that code into a helper bash script (under scripts)?

@chalin chalin added blocked accessibility Adds accessibility improvements labels Jan 24, 2025
@jsoref jsoref force-pushed the ci-diff-fail-summary branch from 2a6b928 to 997684a Compare January 24, 2025 01:01
@jsoref
Copy link
Contributor Author

jsoref commented Jan 24, 2025

Fwiw, there are a number of other one-liners in that file which probably should also be migrated... _list:dict, _rename-to-kebab-case, fix:expired

I generally follow when-in-Rome, and this file didn't have a strong pattern discouraging inline scripts (I personally don't like them and would definitely not have introduced it if things looked differently).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility Adds accessibility improvements blocked
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

2 participants