Skip to content

Commit

Permalink
Create auto-comment-on-close.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sejals23 authored Oct 11, 2024
1 parent be0d623 commit 0a923d8
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/auto-comment-on-close.yml
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit 0a923d8

Please sign in to comment.