-
Notifications
You must be signed in to change notification settings - Fork 3
32 lines (28 loc) · 1.08 KB
/
issue-closed.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Issue Closed Comment
permissions:
issues: write
on:
issues:
types: [closed]
jobs:
comment:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v6
with:
script: |
const message = [
'Thank you for your input and suggestions! 🙌',
'',
'The issue has been resolved/implemented in the latest updates. 🎉 If you have any further feedback or ideas, feel free to open a new issue or join the discussion on GitHub.',
'',
'Your support helps us make Duplicate Finder even better—thank you for being part of our journey! 🚀',
'',
'If you haven\'t already, don\'t forget to ⭐ star the project on GitHub. Your support means the world to us and keeps the project thriving!'
].join('\n');
await github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: message
});