Skip to content

Commit 295cfc0

Browse files
CopilotdevantlerCopilot
authored
ci: enable noop in daily-docs and add push-context guidance (#3621)
* Initial plan * ci: enable noop in daily-docs and add push-context guidance Fixes #3572 — the Daily Docs workflow fails on push-triggered runs because the agent calls add_comment when there is no PR/issue context. - Enable noop safe-output tool (noop: false → noop:) - Add explicit Output instruction: push-triggered runs with no changes should call noop, never add_comment Note: daily-docs.lock.yml must be regenerated post-merge via gh aw compile" Agent-Logs-Url: https://github.com/devantler-tech/ksail/sessions/c1daae93-255e-4efc-b7f9-e03f8719ef26 Co-authored-by: devantler <26203420+devantler@users.noreply.github.com> * ci: regenerate daily-docs.lock.yml with noop enabled Agent-Logs-Url: https://github.com/devantler-tech/ksail/sessions/43649c5d-e0b6-4b7e-b5eb-ba1cc7549aa7 Co-authored-by: devantler <26203420+devantler@users.noreply.github.com> * chore: Apply megalinter fixes * ci: add report-as-issue: false to noop in daily-docs Prevents push-triggered runs from opening issues when there are no doc changes to make. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * chore: Apply megalinter fixes * ci: recompile daily-docs.lock.yml with gh-aw v0.66.1 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * chore: Apply megalinter fixes --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: devantler <26203420+devantler@users.noreply.github.com> Co-authored-by: Nikolai Emil Damm <nikolaiemildamm@icloud.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 3ed8a03 commit 295cfc0

3 files changed

Lines changed: 57 additions & 21 deletions

File tree

.github/aw/actions-lock.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,11 @@
8585
"version": "v0.66.1",
8686
"sha": "73ae9ce231580f337133352d321d42b6bf54b6a9"
8787
},
88+
"github/gh-aw-actions/setup@v0.65.2": {
89+
"repo": "github/gh-aw-actions/setup",
90+
"version": "v0.65.2",
91+
"sha": "9398bbf0cbb2f974bd98b8ae29f94a7ae920486d"
92+
},
8893
"github/gh-aw-actions/setup@v0.65.6": {
8994
"repo": "github/gh-aw-actions/setup",
9095
"version": "v0.65.6",

.github/workflows/daily-docs.lock.yml

Lines changed: 49 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/daily-docs.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ network:
3232
- go
3333

3434
safe-outputs:
35-
noop: false
35+
noop:
36+
report-as-issue: false
3637
create-pull-request:
3738
title-prefix: "[docs] "
3839
labels: [documentation, automation]
@@ -217,6 +218,7 @@ Ensure every code-level change is mirrored by clear, accurate, and stylistically
217218
218219
8. **Output**
219220
- Create focused draft pull requests with clear descriptions
221+
- When triggered by a `push` event and no documentation changes are needed, call `noop` — do NOT call `add_comment` (there is no PR or issue context on push)
220222
- Exit if no code changes require documentation updates
221223
222224
> NOTE: Never make direct pushes to the main branch. Always create a pull request.

0 commit comments

Comments
 (0)