Skip to content

Commit f9990fb

Browse files
authored
Create interactions.yaml
1 parent 37cbd0c commit f9990fb

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/interactions.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: First Interaction Response
2+
3+
on:
4+
issues:
5+
types: [opened]
6+
pull_request:
7+
types: [opened]
8+
9+
jobs:
10+
response:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
14+
- uses: actions/first-interaction@main
15+
with:
16+
repo-token: ${{ secrets.GITHUB_TOKEN }}
17+
issue-message: |
18+
Hello! Thank you for filing an issue.
19+
20+
Thank you for creating an issue on this repository. The maintainer will triage it and will respond within a few days.
21+
pr-message: |
22+
Hello! Thank you for your contribution.
23+
24+
This repository is in READ ONLY mode. If you're trying to test the workflows, you need to create a fork of this repository to your organisation or personal account before you can run the workflows!
25+
26+
If you've spotted a mistake that you'd like to see fixed, please create an issue instead. This PR will be closed shortly.
27+
28+
- uses: superbrothers/close-pull-request@v3
29+
if: ${{ github.event_name == 'pull_request' }}

0 commit comments

Comments
 (0)