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
Updates discussion title, body, or labels. Only explicitly enabled fields can be updated.
404
+
405
+
```yaml wrap
406
+
safe-outputs:
407
+
update-discussion:
408
+
title: # enable title updates
409
+
body: # enable body updates
410
+
labels: # enable label updates
411
+
allowed-labels: [bug, idea] # restrict to specific labels
412
+
max: 1 # max updates (default: 1)
413
+
target: "*" # "triggering" (default), "*", or number
414
+
target-repo: "owner/repo" # cross-repository
415
+
```
416
+
417
+
**Field Enablement**: Include `title:`, `body:`, or `labels:` keys to enable updates for those fields. Without these keys, the field cannot be updated. Setting `allowed-labels` implicitly enables label updates.
418
+
419
+
**Target**: `"triggering"` (requires discussion event), `"*"` (any discussion), or number (specific discussion).
0 commit comments