Skip to content

Commit

Permalink
Fix closing answered issues by setting the stale-issue-message attrib…
Browse files Browse the repository at this point in the history
…ute.

Despite what the stale action docs say in https://github.com/actions/stale#stale-issue-message:

> You can skip the comment sending by omitting the option or by passing an empty string.

we are seeing an error that prevents issues from getting marked as closing (https://github.com/jupyterlab/jupyterlab/runs/2994705101?check_suite_focus=true#step:2:3995):

> [#5869] Skipping this issue because it should be marked as stale based on the option days-before-stale (​https://github.com/actions/stale#days-before-stale​) (30) but the option stale-issue-message (​https://github.com/actions/stale#stale-issue-message​) is not set
  • Loading branch information
jasongrout committed Jul 6, 2021
1 parent cd7ac23 commit c895226
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/answered.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
steps:
- uses: actions/stale@v3
with:
skip-stale-issue-message: true
days-before-stale: 30
days-before-close: 7
stale-issue-label: 'status:Closing as Answered'
stale-issue-message: ''
only-issue-labels: 'status:Answered'

0 comments on commit c895226

Please sign in to comment.