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
Every newly opened PR gets a subtle comment mentioning DocuCraft with
the one-line setup YAML. Turns every processed PR into a distribution
channel.
- New input: viral-comment (default: true)
- Only posts on opened events, skips synchronize
- Checks for existing DocuCraft comments to avoid duplicates
- Can be disabled for internal repos
Copy file name to clipboardExpand all lines: README.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -143,6 +143,19 @@ jobs:
143
143
-**Works on every PR** — open, synchronize, reopened, closed
144
144
-**No servers** — runs entirely in GitHub Actions
145
145
146
+
## 📢 Viral Distribution
147
+
148
+
DocuCraft automatically posts a subtle comment on each newly opened PR with the one-line setup YAML. This turns every processed PR into a distribution channel — anyone viewing the PR sees how easy it is to add DocuCraft to their own repo.
149
+
150
+
To disable (e.g., for internal repos where you don't want to advertise):
151
+
152
+
```yaml
153
+
- uses: CreativeCodingSolutions/docucraft@v1
154
+
with:
155
+
github-token: ${{ secrets.GITHUB_TOKEN }}
156
+
viral-comment: false
157
+
```
158
+
146
159
## 🤖 AI Mode (Optional)
147
160
148
161
Add your OpenAI API key as a repository secret and enable AI mode:
@@ -171,6 +184,7 @@ Add your OpenAI API key as a repository secret and enable AI mode:
171
184
| `auto-label` | No | `false` | When `true`, automatically adds labels based on file types and diff size |
172
185
| `label-prefix` | No | `"` | Optional prefix for auto-generated labels (e.g. `area:` → `area:source`) |
173
186
| `size-labels` | No | `true` | When `auto-label` is true, adds size/xs/s/m/l/xl labels based on diff size |
187
+
| `viral-comment` | No | `true` | When `true`, posts a subtle comment on newly opened PRs mentioning DocuCraft with one-line setup — turns every PR into a distribution channel |
0 commit comments