Skip to content

Conversation

@krystxf
Copy link
Owner

@krystxf krystxf commented Oct 20, 2025

Changes

  • formatting check
  • semantic PR check

@vercel
Copy link

vercel bot commented Oct 20, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
react-svg-shape Ready Ready Preview Comment Oct 20, 2025 2:18pm

💡 Enable Vercel Agent with $100 free credit for automated AI reviews

@krystxf krystxf self-assigned this Oct 20, 2025
@krystxf krystxf changed the title Chore/ci chore: ci Oct 20, 2025
@krystxf krystxf requested a review from Copilot October 22, 2025 12:24
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds CI automation with formatting and semantic PR checks. The changes configure Prettier for code formatting and set up GitHub Actions workflows to enforce code quality standards.

  • Adds Prettier configuration with format and format:check scripts
  • Creates GitHub Actions workflows for automated PR title validation and formatting checks
  • Applies Prettier formatting rules across TypeScript and Markdown files (trailing commas, spacing)

Reviewed Changes

Copilot reviewed 9 out of 10 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
package.json Adds Prettier dependency and formatting scripts
.github/workflows/ci.yaml Creates CI workflow to check code formatting on push
.github/workflows/semantic-pr.yaml Adds workflow to validate PR titles follow semantic conventions
packages/react-svg-shape/src/shape-generator.ts Applies trailing comma formatting to function parameters
apps/docs/src/sections/SvgGeneratorSection.tsx Adds trailing comma to dependency array
apps/docs/src/main.tsx Adds trailing comma to JSX closing tag
apps/docs/src/lib/utils/downloadSVG.utils.ts Adds trailing comma to function parameters
apps/docs/src/components/AnimatedBlob.tsx Adds trailing comma to dependency array
README.md Fixes spacing inconsistencies and adds missing semicolons
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment on lines +30 to +31
run: |
pnpm run format:check No newline at end of file
Copy link

Copilot AI Oct 22, 2025

Choose a reason for hiding this comment

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

Remove trailing whitespace after the pipe character on line 30 and after 'format:check' on line 31. Trailing whitespace in YAML files can cause inconsistencies and should be avoided.

Suggested change
run: |
pnpm run format:check
run: |
pnpm run format:check

Copilot uses AI. Check for mistakes.
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.

2 participants