Skip to content

Commit b8d3cd8

Browse files
authored
Try to get the command doc comment bot working (#1704)
* Try to get the command doc comment bot working Trying to use the `pull_request_target` triggeer instead, as that has apparently different permissions according to: https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#pull_request_target * Messing with the docs DO NOT MERGE * Remove the `opened` filter * Update ansi.md * Also protect the categories
1 parent a27af98 commit b8d3cd8

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/command-block.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
name: Comment on manual command changes
22
on:
3-
pull_request:
3+
pull_request_target:
44
paths:
55
- 'commands/docs/**'
6+
- 'commands/categories/**'
67

78
jobs:
89
comment:

commands/docs/ansi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,4 +146,4 @@ Operating system commands:
146146
| -------------------------------------------------- | ------------------------------------------------------------------ | -------- |
147147
| [`ansi gradient`](/commands/docs/ansi_gradient.md) | Add a color gradient (using ANSI color codes) to the given string. | built-in |
148148
| [`ansi link`](/commands/docs/ansi_link.md) | Add a link (using OSC 8 escape sequence) to the given string. | built-in |
149-
| [`ansi strip`](/commands/docs/ansi_strip.md) | Strip ANSI escape sequences from a string. | built-in |
149+
| [`ansi strip`](/commands/docs/ansi_strip.md) | Strip ANSI escape sequences from a string. | built-in |

0 commit comments

Comments
 (0)