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

Format changelogs with Prettier #2391

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

Mrtenz
Copy link
Member

@Mrtenz Mrtenz commented May 3, 2024

Our release workflow assumes we use Prettier for changelogs, so we had to manually fix them when creating a release. I've updated our validation to use Prettier for changelog formatting, and updated all changelogs.

@Mrtenz Mrtenz requested a review from a team as a code owner May 3, 2024 10:54

if [[ "${GITHUB_REF:-}" =~ '^release/' ]]; then
yarn auto-changelog validate --tag-prefix "${package_name}@" --rc
yarn auto-changelog validate --prettier --tag-prefix "${package_name}@" --rc "$@"
Copy link
Member Author

Choose a reason for hiding this comment

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

The "$@" allows us to run this script with --fix.

Copy link
Member

Choose a reason for hiding this comment

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

thank you! 😄

@Mrtenz Mrtenz force-pushed the mrtenz/prettier-changelogs branch from fa944ba to 7f40614 Compare May 31, 2024 06:42
Copy link

codecov bot commented May 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.32%. Comparing base (5cce82f) to head (7f40614).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2391   +/-   ##
=======================================
  Coverage   94.32%   94.32%           
=======================================
  Files         438      438           
  Lines        9021     9021           
  Branches     1382     1382           
=======================================
  Hits         8509     8509           
  Misses        512      512           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants