Add option to keep posting comment on stale issue.

Open
#1,209 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript
Domain
ci-cd, tooling

Research direction

The issue names the actions/stale@v9 configuration and the proposed comment-stale-issue option, but no source files or tests. Start by locating the stale issue processing and configuration entry points, then trace how stale comments and repeat runs are handled. Done means the option is documented and enabled runs post the configured message while the issue remains stale, stopping when it is updated or closed.

Written by the indexing model from the issue text.

Description

feature request

Description:

Currently the stale bot

  • Add a label "stale"
  • Poste a message "This is stale"

And then, if the user is doing nothing, finally close the issue.

But I'd like the bot to keep posting "This is stale" on the issue every day to ping the user until

  • The issue is not stale
  • Or the issue is closed

So I would like an option in order to force the actions to keep running on stale issue and re-post a comment.
Like a comment-stale-issue: true (false by default)

Justification:

I'm using the stale bot to post a message on issue under some conditions, like a missing label.
For instance

            -   name: Check for issues without priority
                uses: actions/stale@v9
                with:
                    ascending: false
                    days-before-stale: 7
                    days-before-pr-stale: -1
                    days-before-close: -1
                    ignore-updates: true
                    exempt-issue-labels: priority:low,priority:medium,priority:high,priority:critical
                    stale-issue-label: need:priority
                    stale-issue-message: >
                        This issue is missing a priority.

And I'd like that until the condition is met, the stale bot is still posting a new remember every day (when the github action is running), in order to ping the author which might have forgotten.

Are you willing to submit a PR?

  • Sure, but I don't know how this work ; I assume the dev is not that hard, but I would help some explanations about the needed change and where is the core logic.
Dominant language
TypeScript
Stars
1.7k
Forks
438
Avg merge
27d 8h
Merged PRs (30d)
1

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from actions/stale

All issues in actions/stale

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.