feat(ci): run CI for prettier and markdown with additional plugin#2
Merged
teodorus-nathaniel merged 2 commits intomainfrom Dec 24, 2025
Merged
feat(ci): run CI for prettier and markdown with additional plugin#2teodorus-nathaniel merged 2 commits intomainfrom
teodorus-nathaniel merged 2 commits intomainfrom
Conversation
|
Caution Review failedThe pull request is closed. WalkthroughBoth GitHub Actions workflows now detect configuration files and conditionally handle installations. The commit-check workflow creates a default commitlint config if missing and installs dependencies based on config presence. The prettier workflow similarly detects config and installs dependencies only when found, using step outputs to drive conditional logic. Changes
Sequence Diagram(s)sequenceDiagram
participant WF as Workflow
participant FS as File System
participant DM as Dependency Manager
participant Lint as Linter
rect rgb(240, 248, 255)
Note over WF,FS: Config Detection Phase
WF->>FS: Check for .commitlintrc.*<br/>or package.json config
FS-->>WF: Config exists? (has-config)
end
alt Config Found
rect rgb(220, 240, 220)
Note over WF,DM: Local Dependencies Path
WF->>DM: Install local dependencies
DM-->>WF: Ready
end
else No Config
rect rgb(255, 240, 220)
Note over WF,FS: Config Creation Path
WF->>FS: Create .commitlintrc.yml
FS-->>WF: Config created
WF->>DM: Install commitlint global<br/>+ conventional config
DM-->>WF: Ready
end
end
rect rgb(240, 240, 255)
Note over WF,Lint: Linting Phase
WF->>Lint: Run commitlint check
Lint-->>WF: Results
end
sequenceDiagram
participant WF as Workflow
participant FS as File System
participant DM as Dependency Manager
participant Prettier as Prettier
rect rgb(240, 248, 255)
Note over WF,FS: Config Detection Phase
WF->>FS: Check for prettier config files
FS-->>WF: Config exists? (has-config)
end
WF->>WF: Setup Bun
WF->>WF: Install Prettier
alt Config Found
rect rgb(220, 240, 220)
Note over WF,DM: Conditional Install
WF->>DM: Install dependencies
DM-->>WF: Ready
end
end
rect rgb(240, 240, 255)
Note over WF,Prettier: Formatting Check
WF->>Prettier: Check formatting
Prettier-->>WF: Results
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested reviewers
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Organization UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
resolves https://github.com/holdex/pr-time-tracker-webhooks/issues/710
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.