name: Closed Issue Message
on:
    issues:
       types: [closed]
jobs:
    auto_comment:
        runs-on: ubuntu-latest
        steps:
        - uses: aws-actions/closed-issue-message@v1
          with:
            # These inputs are both required
            repo-token: "${{ secrets.GITHUB_TOKEN }}"
            message: |
                     ### ⚠️COMMENT VISIBILITY WARNING⚠️ 
                     Comments on closed issues are hard for our team to see. 
                     If you need more assistance, please either tag a team member or open a new issue that references this one. 
                     If you wish to keep having a conversation with other community members under this issue feel free to do so.

Add closed issue message github action
Add closed issue message github action