diff --git a/.github/workflows/closed-issue-message.yml b/.github/workflows/closed-issue-message.yml new file mode 100644 index 00000000000000..79b1b775e94987 --- /dev/null +++ b/.github/workflows/closed-issue-message.yml @@ -0,0 +1,18 @@ +name: Add closing message to issue + +on: + issues: + types: + - closed + workflow_call: + +permissions: {} + +jobs: + add-comment: + name: Add closing message + if: github.event.issue.state_reason == 'completed' + uses: mui/mui-public/.github/workflows/reusable/add-closing-message-to-issue.yml@04275a99fe10cee127ee417b8a872cfebc7d08e7 + permissions: + contents: read + issues: write diff --git a/.github/workflows/support-stackoverflow.yml b/.github/workflows/support-stackoverflow.yml index 5bf22123293d15..5ba93685846e1b 100644 --- a/.github/workflows/support-stackoverflow.yml +++ b/.github/workflows/support-stackoverflow.yml @@ -32,4 +32,5 @@ jobs: If you have a question on Stack Overflow, you are welcome to link to it here, it might help others. If your issue is subsequently confirmed as a bug, and the report follows the issue template, it can be reopened. close-issue: true + issue-close-reason: 'not planned' lock-issue: false