-
-
Notifications
You must be signed in to change notification settings - Fork 283
31 lines (25 loc) · 1.08 KB
/
interactions.yaml
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
name: First Interaction Response
on:
issues:
types: [opened]
pull_request:
types: [opened]
pull_request_target:
types: [opened]
jobs:
response:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/first-interaction@main
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: |
Hello! Thank you for filing an issue.
Thank you for creating an issue on this repository. The maintainer will triage it and will respond within a few days.
pr-message: |
Hello! Thank you for your contribution.
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!
If you've spotted a mistake that you'd like to see fixed, please create an issue instead. This PR will be closed shortly.
- uses: superbrothers/close-pull-request@v3
if: ${{ github.event_name == 'pull_request_target' }}