ci: add stale bot#42
Merged
Merged
Conversation
ba91eff to
0d1007b
Compare
There was a problem hiding this comment.
Pull request overview
Adds automation to mark/close stale issues and PRs via ESLint’s centralized reusable workflow, and tweaks CI filtering logic for running tests on changed codemods.
Changes:
- Add a scheduled
staleworkflow that callseslint/workflows’ reusable stale workflow. - Update the CI “changed codemods” filter generation logic (currently introduces a
sedruntime error).
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
.github/workflows/stale.yml |
Adds a scheduled workflow to run the centralized stale-bot reusable workflow. |
.github/workflows/ci.yml |
Modifies the shell pipeline that builds pnpm --filter arguments for changed codemods. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
lumirlumir
commented
Jun 26, 2026
| | cut -d/ -f1-3 \ | ||
| | sort -u \ | ||
| | sed 's|^|--filter ./|' | ||
| | sed 's|^|--filter ./| || true' |
Member
Author
There was a problem hiding this comment.
This change handles PRs that do not touch codemod packages. Without this, grep '^codemods/' exits with 1 when there are no matching paths, causing the CI step to fail before it can skip tests.
alexbit-codemod
approved these changes
Jun 28, 2026
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.
Prerequisites checklist
AI acknowledgment
What is the purpose of this pull request?
This PR simply adds a stale bot automation workflow, as decided in eslint/workflows#4 for the centralized workflow.
I’ve also updated the
ci.ymlworkflow, as it behaved incorrectly in some cases.What changes did you make? (Give an overview)
Added
stale.ymlworkflow file.Related Issues
Ref: eslint/workflows#4
Is there anything you'd like reviewers to focus on?
N/A