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

ADD stale bot #530

Merged
merged 1 commit into from
Mar 28, 2024
Merged

ADD stale bot #530

merged 1 commit into from
Mar 28, 2024

Conversation

philschmid
Copy link
Member

Adds a stale bot that runs every day and comments on issue which are stale (no communication for 30 days) and closes them then after 7 more days.

Excluded issues with the following tag:

LABELS_TO_EXEMPT = [
    "bug",
    "feature request",
    "new model",
    "wip",
]

Copy link
Collaborator

@JingyaHuang JingyaHuang left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for adding it!

@dacorvo dacorvo merged commit dd029a1 into main Mar 28, 2024
2 checks passed
@dacorvo dacorvo deleted the add-stale branch March 28, 2024 09:30
@JingyaHuang
Copy link
Collaborator

JingyaHuang commented Mar 28, 2024

Seems this one introduced a styling issue:

Run source venv/bin/activate
warning: `ruff <path>` is deprecated. Use `ruff check <path>` instead.
tools/stale.py:1[9](https://github.com/huggingface/optimum-neuron/actions/runs/8465382921/job/23191938905#step:7:10):1: I001 [*] Import block is un-sorted or un-formatted
tools/stale.py:41:20: C414 Unnecessary `list` call within `sorted()`
Found 2 errors.
[*] 1 fixable with the `--fix` option (1 hidden fix can be enabled with the `--unsafe-fixes` option).
Error: Process completed with exit code 1.

On my way to fix it, once we merge the caching PR.

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.

4 participants