-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
26 lines (23 loc) · 662 Bytes
/
issue-reply.yml
File metadata and controls
26 lines (23 loc) · 662 Bytes
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
name: "Reply to fresh issue"
on:
issues:
types: [opened]
jobs:
reply:
timeout-minutes: 2
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- 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}}"
}