-
Notifications
You must be signed in to change notification settings - Fork 462
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
17 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,20 +4,24 @@ on: | |
paths: | ||
- 'commands/docs/**' | ||
|
||
# Fix Resource not accessible by integration (updatePullRequest) | ||
permissions: | ||
issues: write | ||
contents: read | ||
pull-requests: write | ||
|
||
jobs: | ||
comment: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: peter-evans/create-or-update-comment@v4 | ||
with: | ||
script: | | ||
github.rest.issues.createComment({ | ||
issue_number: context.issue.number, | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
body: 'Awesome that you are trying to improve the documentation of a nushell command!\n\n' + | ||
'As we autogenerate these command pages from the help information defined with the command after each release:\n'+ | ||
'- If you already updated the command help, you are already done!\n'+ | ||
'- Else, please look for the command in the [source tree](https://github.com/nushell/nushell/tree/main/crates) and make your changes directly there.\n\n'+ | ||
'Thanks for helping out!' | ||
}) | ||
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! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters