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
Option stale-issue-message required? #521
Comments
Oh, I think I'm getting confused between unreleased master, and what is necessary in v3. It seems in v3 I need to give both the skip-stale-issue-message and a blank message? But in v4 I won't need to specify either to get no comment? |
@jasongrout indeed, the default branch is main which provide the actual state of the action including unreleased features. For the next major (v4) or the current main, if the option is empty, no message will be sent. stale/src/classes/issues-processor.ts Lines 213 to 215 in 678bfc7
However, since there is a default value Lines 9 to 11 in 678bfc7
I think that the documentation should not mention that omitting will not send a message. |
…ll not send a message To be sure, what would be even better is to add a test using the default config (because the main issue is that the default options of the specs are not matching the ones from the action). Closes actions#521
Thanks! |
Adding |
@jasongrout sorry it's hard to tell. |
The PR is ready. |
No problem. For now I did a stale-issue-message of '.', like in the link I posted. Thanks for fixing things in v3, we really appreciate how this action helps us manage answered issues! |
…ll not send a message To be sure, what would be even better is to add a test using the default config (because the main issue is that the default options of the specs are not matching the ones from the action). Closes actions#521
…ll not send a message To be sure, what would be even better is to add a test using the default config (because the main issue is that the default options of the specs are not matching the ones from the action). Closes actions#521
…ll not send a message To be sure, what would be even better is to add a test using the default config (because the main issue is that the default options of the specs are not matching the ones from the action). Closes actions#521
…e option will not send a message (#522) * chore(assignees): add logs * docs(stale-issue-comment): update the docs to remove that omitting will not send a message To be sure, what would be even better is to add a test using the default config (because the main issue is that the default options of the specs are not matching the ones from the action). Closes #521 * test(comment): add more coverage to test the stale issue message * docs(readme): improve the wording Co-authored-by: Luke Tomlinson <luketomlinson@github.com> * refactor: simplify the code to use the stats for the specs * chore(rebase): fix rebase issue * chore(statistics): fix issue due to rebase Co-authored-by: Luke Tomlinson <luketomlinson@github.com>
Describe your issue
We have omitted the
stale-issue-message
option (in fact, we still haveskip-stale-issue-message
set, but that seems ignored now). According to the docs at https://github.com/actions/stale#stale-issue-message:So it seems since we have omitted the
stale-issue-message
parameter, we should be fine - issues should be marked stale without a comment. However, in our logs, we see https://github.com/jupyterlab/jupyterlab/runs/2994705101?check_suite_focus=true#step:2:3995 :and the relevant issue is not marked stale. Is giving a
stale-issue-message
mandatory now, with an empty string signifying no message?Your stale action configuration
https://github.com/jupyterlab/jupyterlab/blob/cd7ac23f738c9a8792bbb76a256e84a82535446c/.github/workflows/answered.yml
Further context
The text was updated successfully, but these errors were encountered: