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

stale check cli issue1064 #12

Merged
merged 1 commit into from
May 21, 2024
Merged

stale check cli issue1064 #12

merged 1 commit into from
May 21, 2024

Conversation

aceppaluni
Copy link
Member

@aceppaluni aceppaluni commented May 21, 2024

The Pull Request is ready

  • fixes #issue1064
  • all actions are passing
  • only fixes a single issue

Overview

Add a stale check for cli

Review points

Added a new yml file to accommodate stale check
File placed in workflows

CLI

  • the change works with both supported node versions
  • the default behaviour did not change
  • shared code has been extracted in a different file

Notes

Issue associated with issue#1064

Summary by CodeRabbit

  • Chores
    • Introduced an automated workflow to manage stale issues and pull requests. This will help keep the repository clean and organized by automatically closing inactive items and unassigning contributors after a period of inactivity.

Copy link

coderabbitai bot commented May 21, 2024

Walkthrough

The new GitHub Actions workflow named "Stale" has been introduced to automate the management of stale issues and pull requests. It runs on a scheduled basis, automatically closing inactive issues and pull requests, unassigning contributors, and sending appropriate notifications. This helps maintain a clean and manageable repository by addressing inactivity and reducing clutter.

Changes

File Change Summary
.github/workflows/cron.stale.yml Added a workflow named "Stale" to manage stale issues and pull requests, including steps for closure, unassignment, and notifications.

🐰 In the code's garden, neat and trim,
Where issues once did brim,
The Stale bot hops with gentle care,
To close the old, make code repair.
Contributors, rest and renew,
For the bot will manage through and through.
🌟✨


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?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

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 as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger a review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@Idrinth Idrinth marked this pull request as ready for review May 21, 2024 04:08
@Idrinth Idrinth merged commit 137ca6f into the-one May 21, 2024
8 of 12 checks passed
@Idrinth Idrinth deleted the jul-contribute branch May 21, 2024 04:08
Copy link

@coderabbitai coderabbitai bot left a 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

Review Details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits Files that changed from the base of the PR and between b079ecf and 268622e.
Files selected for processing (1)
  • .github/workflows/cron.stale.yml (1 hunks)
Additional comments not posted (1)
.github/workflows/cron.stale.yml (1)

10-20: Ensure actions/stale@v9 is the latest stable version and the parameters are correctly configured.

Verification successful

The latest stable version of actions/stale is v9.0.0, which matches the version specified in the workflow file. Therefore, the version is correctly set.

Scripts Executed

The following scripts were executed for the analysis:


Script:

#!/bin/bash
# Description: Verify the latest stable version of `actions/stale`.

# Test: Fetch the latest stable version from GitHub Marketplace.
gh api -X GET /repos/actions/stale/releases/latest

Length of output: 3607

.github/workflows/cron.stale.yml Show resolved Hide resolved
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