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
@@ -34,6 +47,16 @@ The message which should be posted to the PR. This can be a dynamic value, such
34
47
35
48
Default: `[${BUILDKITE_BUILD_URL}#${BUILDKITE_JOB_ID}](${BUILDKITE_BUILD_URL}#${BUILDKITE_JOB_ID}) exited with code ${BUILDKITE_COMMAND_EXIT_STATUS}`
36
49
50
+
### `allow-repeats` (optional, boolean)
51
+
Whether to Allow identical comments to be posted every time the plugin is run. Disabling this (`allow-repeats: false`) will cause the plugin to post a single "sticky" comment, which will be updated on subsequent runs if the message changes.
52
+
53
+
Default: `true`
54
+
55
+
### `message-id` (optional, string)
56
+
An additional unique identifier for the comment generated by the plugin instance; useful if using "sticky" comments (`allow-repeats: false`) and using the plugin multiple times in a single _step_.
Copy file name to clipboardExpand all lines: plugin.yml
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -10,5 +10,12 @@ configuration:
10
10
type: string
11
11
secret-name:
12
12
type: string
13
+
allow-repeats:
14
+
type: boolean
15
+
description: "Allow identical comments to be posted every time the plugin is run"
16
+
default: true
17
+
message-id:
18
+
type: string
19
+
description: "Unique ID of the message to be posted, used to identify existing comments (allow-repeats: false). Use if plugin is used more than once in same job."
0 commit comments