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 option to keep posting comment on stale issue. #1209

Open
VincentLanglet opened this issue Feb 18, 2025 · 1 comment
Open

Add option to keep posting comment on stale issue. #1209

VincentLanglet opened this issue Feb 18, 2025 · 1 comment
Labels
feature request New feature or request to improve the current logic

Comments

@VincentLanglet
Copy link

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.
@VincentLanglet VincentLanglet added feature request New feature or request to improve the current logic needs triage labels Feb 18, 2025
@priyagupta108
Copy link

Hi @VincentLanglet 👋,
Thank you for the feature request. We'll investigate it and come back to you with the details!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request to improve the current logic
Projects
None yet
Development

No branches or pull requests

2 participants