From 0a923d82d8fea8cc75d72ca5074f5ad38500c9af Mon Sep 17 00:00:00 2001 From: Sejal Date: Fri, 11 Oct 2024 09:41:14 +0530 Subject: [PATCH] Create auto-comment-on-close.yml --- .github/workflows/auto-comment-on-close.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/auto-comment-on-close.yml diff --git a/.github/workflows/auto-comment-on-close.yml b/.github/workflows/auto-comment-on-close.yml new file mode 100644 index 00000000..a36f3ee8 --- /dev/null +++ b/.github/workflows/auto-comment-on-close.yml @@ -0,0 +1,18 @@ +name: Auto Comment on Closed Issue + +# Trigger this action when an issue is closed +on: + issues: + types: [closed] + +jobs: + auto-comment: + runs-on: ubuntu-latest + + steps: + - name: Add a comment to the closed issue + uses: peter-evans/issue-commenter@v1 + with: + issue-number: ${{ github.event.issue.number }} + comment: | + Thank you for your contribution! This issue has been closed. If you have further questions, feel free to open a new issue.