Comments (3)
Hi,
I agree with this feature.
Also, having the possibility to immediately close an issue/PR would be nice e.g. for read only repositories.
Hoping it will be implemented.
from stale.
Hi @hross,
Actually if you set 0 for te days-before-close
or days-before-stale
, the issue state changes the next day and not immediately. 0 has the same effect as 1.
from stale.
If you want this behavior I think you can do it now, you just need to execute the stale action when an issue label changes. You should be able to create an action like this that will trigger it immediately...
name: Trigger stale on issue label
on:
issues:
types: [labeled, unlabeled]
jobs:
stale-label:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'Message to comment on stale issues. If none provided, will not mark issues stale'
stale-pr-message: 'Message to comment on stale PRs. If none provided, will not mark PRs stale'
days-before-stale: 2
days-before-close: 0
from stale.
Related Issues (20)
- Eser4444 HOT 1
- Eser4444 HOT 1
- How to run for other repos in the same organization HOT 3
- Feature request: Option to move a PR from "open" to "draft" HOT 2
- Stale workflow fails to override cache. HOT 4
- Stale label not removed after receiving comments/commit HOT 5
- Error delete _state: [403] Resource not accessible by integration HOT 8
- Stale issues are not getting closed HOT 5
- State restoration fails if a repo has many caches HOT 3
- Have one workflow ignore the state saved by another HOT 3
- [wishlist
- [wishlist] mark previous comment(s) as outdated when removing 'stale' label HOT 1
- Allow filtering of PRs by review status or other criteria HOT 2
- Support markdown comments HOT 1
- Action is not working and is always erroring out HOT 3
- Actions fails if rate Limit is not enabled HOT 2
- `actions: write` is too permissive HOT 1
- Feature request: Close draft PRs only HOT 1
- Github actions workflow issue for long running jobs - Not able to view Logs & status marked as cancelled but overall workflow seems to be running HOT 4
- Error when removing the label: "Label does not exist" HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stale.