Skip to content

Commit

Permalink
workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
saadeghi committed Dec 1, 2023
1 parent 6ee6aad commit ff557ec
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/issue-reply.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<p>
Thank you @{{inputs.user}}
for reporting issues. It helps daisyUI a lot 💚
<br />
I'll be working on issues one by one. I will help with this one as soon as a I
find a solution.
<br />
In the meantime providing more details and reproduction links would be
helpful.
</p>
26 changes: 26 additions & 0 deletions .github/workflows/issue-reply.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: "Reply to fresh issue"

on:
issues:
types: [opened]

jobs:
reply:
timeout-minutes: 2
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Comment on fresh issue
uses: badsyntax/github-action-issue-comment@master
if: github.event_name == 'issues'
with:
id: "auto-reply"
action: "create-clean"
template: ".github/workflows/issue-reply.hbs"
issue-number: ${{ github.event.issue.number }}
token: ${{ secrets.GITHUB_TOKEN }}
template-inputs: |
{
"user": "${{github.event.issue.user.login}}"
}

0 comments on commit ff557ec

Please sign in to comment.