Skip to content

Commit 8943a68

Browse files
authored
Command doc lint ignore for autogen maintainer (#1708)
* Command doc lint ignore for autogen maintainer * Check stefan triggering message * Revert "Check stefan triggering message" This reverts commit 6b23359. * Fix/document exemption rule * Fix the comment
1 parent 6de3229 commit 8943a68

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/command-block.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
jobs:
99
comment:
1010
runs-on: ubuntu-latest
11+
# Maintainers/Contributors can add themselves exempt from this bot if they regularly run the command doc generation.
12+
# If you are on this list, be careful about accidental changes!
13+
if: ${{!contains(fromJSON('["hustcer", "sholderbach"]'), github.event.pull_request.user.login)}}
1114
steps:
1215
- uses: actions/[email protected]
1316
with:
@@ -17,7 +20,7 @@ jobs:
1720
owner: context.repo.owner,
1821
repo: context.repo.repo,
1922
body: 'Awesome that you are trying to improve the documentation of a nushell command!\n\n' +
20-
'You should not modify the files in `commands/docs` or `commands/categorees`!\n' +
23+
'**You should not modify the files in `commands/docs` or `commands/categories`!**\n' +
2124
'We autogenerate these command pages from the `help` information defined by the command implementation, after each release. Thus:\n'+
2225
'- If you already updated the command help, you are already done and can close this PR!\n'+
2326
'- Else, please look for the command in the [source tree](https://github.com/nushell/nushell/tree/main/crates) and make your changes directly there in the `impl Command` and `Signature`.\n'+

0 commit comments

Comments
 (0)