generated from fastai/fastpages
-
Notifications
You must be signed in to change notification settings - Fork 0
26 lines (23 loc) · 905 Bytes
/
issue_reminder.yaml
File metadata and controls
26 lines (23 loc) · 905 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: Issue Reminder
on:
issues:
types: [opened]
jobs:
issue_comment:
if: |
(github.repository == 'fastai/fastpages')
runs-on: ubuntu-latest
steps:
- name: Comment on issue
uses: actions/github-script@0.6.0
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
var url = 'https://github.com/fastai/fastpages/blob/master/_fastpages_docs/TROUBLESHOOTING.md'
var msg = `Thank you for opening an issue. If this issue is related to a bug, please follow the steps and provide the information outlined in the [Troubleshooting Guide](${url}). Failure to follow these instructions may result in automatic closing of this issue.`
github.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: msg
})