-
Notifications
You must be signed in to change notification settings - Fork 0
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: 🔨 add PR Conventional Commit Validation workflow for opened PRs #2
Conversation
WalkthroughA new GitHub Actions workflow file named Changes
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
🧹 Outside diff range and nitpick comments (1)
.github/workflows/pr-title.yml (1)
14-14
: Add a newline at the end of the file.To adhere to common best practices and prevent potential issues with certain tools, please add a newline character at the end of the file.
Here's how you can modify the last line:
- task_types: '["feat","fix","docs","test","ci","refactor","perf","chore","revert", "build"]' + task_types: '["feat","fix","docs","test","ci","refactor","perf","chore","revert", "build"]' +🧰 Tools
🪛 yamllint
[error] 14-14: no new line character at the end of file
(new-line-at-end-of-file)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (1)
- .github/workflows/pr-title.yml (1 hunks)
🧰 Additional context used
🪛 yamllint
.github/workflows/pr-title.yml
[error] 14-14: no new line character at the end of file
(new-line-at-end-of-file)
🔇 Additional comments (2)
.github/workflows/pr-title.yml (2)
1-5
: LGTM: Workflow name and trigger events are well-defined.The workflow name accurately describes its purpose, and the trigger events cover all relevant PR actions (opened, synchronize, reopened, and edited). This ensures that the validation runs whenever a PR is created or updated.
7-10
: LGTM: Job configuration is appropriate.The job name "validate-pr-title" is clear and descriptive. Using the latest Ubuntu runner is a good practice for most workflows, and having a single step is appropriate for this simple validation task.
Summary by CodeRabbit
New Features
Chores