name: Closed Issue Message
on:
    issues:
       types: [closed]

permissions:
  contents: read

jobs:
    auto_comment:
        runs-on: ubuntu-latest
        permissions:
            issues: write
        steps:
        - uses: aws-actions/closed-issue-message@10aaf6366131b673a7c8b7742f8b3849f1d44f18
          with:
            # These inputs are both required
            repo-token: "${{ secrets.GITHUB_TOKEN }}"
            message: | 
                     This issue is now closed. Comments on closed issues are hard for our team to see. 
                     If you need more assistance, please open a new issue that references this one. 
