File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : docs_linter
2
+
3
+ on :
4
+ pull_request_target :
5
+ paths :
6
+ - ' docs/**'
7
+
8
+ jobs :
9
+ comment :
10
+ name : Notify user
11
+ runs-on : " ubuntu-latest"
12
+ steps :
13
+ - uses : actions/checkout@v2
14
+
15
+ - name : Comment on PR
16
+ uses : actions/github-script@v4
17
+ with :
18
+ script : |
19
+ github.issues.createComment({
20
+ issue_number: context.issue.number,
21
+ owner: context.repo.owner,
22
+ repo: context.repo.repo,
23
+ body: 'Hi! We appreciate your contribution to the conda-forge docs.' +
24
+ '\nUnfortunately, the edit was made in the **_docs_** folder and not in the **_src_** folder. ' +
25
+ 'Please only edit the **_src_** folder.' +
26
+ '\nFor more information on contributing to conda-forge, visit the ' +
27
+ '[conda-forge docs](https://conda-forge.org/docs/user/contributing.html#improve-the-documentation).' +
28
+ '\nIn case of any questions, please get in touch with us through our public [Gitter channel](https://gitter.im/conda-forge/conda-forge.github.io).'
29
+ })
You can’t perform that action at this time.
0 commit comments