-
Notifications
You must be signed in to change notification settings - Fork 1
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 desktop issue1064 #6
Conversation
WalkthroughCodeRabbitAI observes the introduction of a GitHub Actions workflow named "Stale". This workflow automates the management of stale issues and pull requests. It includes steps to close inactive PRs and issues, unassign contributors, and notify about these actions. The workflow ensures repository maintenance by handling inactivity efficiently. Changes
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 as PR comments)
Additionally, you can add CodeRabbit Configration 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.
Thank you for contributing!
Please make sure the actions pass. Once your pull request has been merged, you will automatically be added to the contributor's list on the website.
If you want to be shouted out on Linkedin, have a look for the shoutout issue of the specific version.
You can also find us on slack at idrinth-api-bench.
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
Review Details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Files selected for processing (1)
- .github/workflows/cron.stale.yml (1 hunks)
Additional comments not posted (1)
.github/workflows/cron.stale.yml (1)
22-27
: CodeRabbit confirms that the configuration for the 'remove-assignee' job is correctly set up and adheres to the intended functionality as described in the PR objectives.
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/stale@v9 | ||
with: | ||
days-before-pr-stale: 7 | ||
days-before-issue-stale: 7 | ||
close-pr-message: "Due to lack of activity this has been closed for now. Feel free to reopen once you are back." | ||
include-only-assigned: true | ||
days-before-issue-close: 21 | ||
stale-issue-message: "Due to inactivity you will be unassigned soon and the issue be freed." | ||
exempt-issue-labels: "shoutout" |
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.
CodeRabbit observes that the configuration for the 'stale' job is logically sound and follows best practices for GitHub Actions. However, the message in line 19 might be improved for clarity.
- "Due to inactivity you will be unassigned soon and the issue be freed."
+ "Due to inactivity, you will be unassigned soon, and the issue will be made available for others."
Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation.
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v9 | |
with: | |
days-before-pr-stale: 7 | |
days-before-issue-stale: 7 | |
close-pr-message: "Due to lack of activity this has been closed for now. Feel free to reopen once you are back." | |
include-only-assigned: true | |
days-before-issue-close: 21 | |
stale-issue-message: "Due to inactivity you will be unassigned soon and the issue be freed." | |
exempt-issue-labels: "shoutout" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v9 | |
with: | |
days-before-pr-stale: 7 | |
days-before-issue-stale: 7 | |
close-pr-message: "Due to lack of activity this has been closed for now. Feel free to reopen once you are back." | |
include-only-assigned: true | |
days-before-issue-close: 21 | |
stale-issue-message: "Due to inactivity, you will be unassigned soon, and the issue will be made available for others." | |
exempt-issue-labels: "shoutout" |
The Pull Request is ready
Overview
Add stale check to desktop
Review points
Added a new yml file to accommodate stale check
File placed in workflows
Desktop
Notes
Issue associated with issue#1064