-
Notifications
You must be signed in to change notification settings - Fork 449
28 lines (24 loc) · 1.02 KB
/
command-block.yml
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
name: Comment on manual command changes
on:
pull_request:
paths:
- 'commands/docs/**'
# Fix Resource not accessible by integration (updatePullRequest)
permissions:
issues: write
pull-requests: write
jobs:
comment:
runs-on: ubuntu-latest
# If the docs was updated by hustcer, skip the commenting step
if: ${{github.event.pull_request.user.login != 'hustcer'}}
steps:
- uses: peter-evans/create-or-update-comment@v4
with:
issue-number: ${{ github.event.pull_request.number }}
body: |
Awesome that you are trying to improve the documentation of a nushell command!
As we autogenerate these command pages from the help information defined with the command after each release:
- If you already updated the command help, you are already done!
- Else, please look for the command in the [source tree](https://github.com/nushell/nushell/tree/main/crates) and make your changes directly there.
Thanks for helping out!