You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/command-block.yml
+15-12Lines changed: 15 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -4,20 +4,23 @@ on:
4
4
paths:
5
5
- 'commands/docs/**'
6
6
7
+
# Fix Resource not accessible by integration (updatePullRequest)
8
+
permissions:
9
+
issues: write
10
+
pull-requests: write
11
+
7
12
jobs:
8
13
comment:
9
14
runs-on: ubuntu-latest
10
15
steps:
11
-
- uses: actions/github-script@v7.0.1
16
+
- uses: peter-evans/create-or-update-comment@v4
12
17
with:
13
-
script: |
14
-
github.rest.issues.createComment({
15
-
issue_number: context.issue.number,
16
-
owner: context.repo.owner,
17
-
repo: context.repo.repo,
18
-
body: 'Awesome that you are trying to improve the documentation of a nushell command!\n\n' +
19
-
'As we autogenerate these command pages from the help information defined with the command after each release:\n'+
20
-
'- If you already updated the command help, you are already done!\n'+
21
-
'- 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'+
0 commit comments