From 835c77b9e088049bc50d5b628a304077dcc07a16 Mon Sep 17 00:00:00 2001 From: GZ Date: Thu, 21 Dec 2023 19:33:19 -0800 Subject: [PATCH] chore: Add GitHub Action to auto comment if customers comment on a closed issue (#3479) --- .github/workflows/close_issue_message.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/close_issue_message.yml diff --git a/.github/workflows/close_issue_message.yml b/.github/workflows/close_issue_message.yml new file mode 100644 index 000000000..eb13f81d6 --- /dev/null +++ b/.github/workflows/close_issue_message.yml @@ -0,0 +1,20 @@ +name: Closed issue message + +on: + issues: + types: [ closed ] +jobs: + auto_comment: + runs-on: ubuntu-latest + permissions: + issues: write + 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. \ No newline at end of file