Commit 74b532c
Add skill tracking + silent-run feedback for workflow_dispatch (#778)
* Add skill-started + skill-completed PR comments for workflow_dispatch
claude-code-action@v1 rejects track_progress: true on
workflow_dispatch events, so manual retries and bootstrap
dispatches leave no real-time signal on the PR that the skill is
running -- reviewers had to hunt through the Actions tab to see
progress. On pull_request runs the action posts its own tracking
comment, so this gap only affects workflow_dispatch.
Two workflow_dispatch-only comments:
- Before skill_gen: a "Claude Opus is generating docs updates for
<project> <tag>. Follow progress: <run URL>" placeholder. Static
but enough to signal "yes it started".
- After Augment PR body: a run summary with skill_gen /
skill_review / autofix conclusions and a link to the run for
the Claude Code Report. Runs even if earlier steps failed so
reviewers can see which step died.
Both are gated on `github.event_name == 'workflow_dispatch'` to
avoid duplicating the action's own tracking on Renovate-opened PRs.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* Flag silent skill runs in PR body + dispatch summary
Companion to the tracking comments: when the skill concludes
successfully but produces zero commits, the PR body previously
read as if content was added. Reviewers had no way to distinguish
"skill ran silently" from "skill produced stuff".
Adds:
- A new step that rev-counts commits between pre_skill SHA and
HEAD. Output exposed as steps.skill_commits.outputs.count.
- A [!NOTE] block in the PR body when SKILL_COMMIT_COUNT=0 and
no NO_CHANGES.md was written. Lists the three likely causes
(docs already ahead of pin; no doc-relevant release; skill's
verification matched existing prose).
- A row in the workflow_dispatch summary comment showing the
commit count.
Surfaced by the e2e test on PR #777: the skill ran to success but
produced nothing because main was already ahead of the pinned
scratch branch. PR body looked like a normal augmented PR.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* Address Copilot review feedback on #778
Two fixes from Copilot's line-level comments:
1. Pre-skill placeholder comment step is best-effort. Was previously
unguarded -- a transient gh failure (rate limit, API hiccup,
permission edge case) would abort the workflow before skill_gen
ran. Matches the `|| true` pattern already used by the post-run
summary comment and the augmentation-failure comment.
2. Silent-run [!NOTE] is gated on BOTH skill steps having succeeded.
The note claims "ran to success"; previously the condition only
checked SKILL_COMMIT_COUNT=0 and NOTE_BLOCK empty, which could
trigger the note even if skill_review had failed. Now requires
steps.skill_gen.conclusion == 'success' AND
steps.skill_review.conclusion == 'success'. Partial failures
are already covered by the separate augmentation-failure
comment step.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 47b67d5 commit 74b532c
1 file changed
Lines changed: 113 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
481 | 481 | | |
482 | 482 | | |
483 | 483 | | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
484 | 511 | | |
485 | 512 | | |
486 | 513 | | |
| |||
668 | 695 | | |
669 | 696 | | |
670 | 697 | | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
671 | 718 | | |
672 | 719 | | |
673 | 720 | | |
| |||
835 | 882 | | |
836 | 883 | | |
837 | 884 | | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
838 | 888 | | |
839 | 889 | | |
840 | 890 | | |
| |||
856 | 906 | | |
857 | 907 | | |
858 | 908 | | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
859 | 941 | | |
860 | 942 | | |
861 | 943 | | |
| |||
907 | 989 | | |
908 | 990 | | |
909 | 991 | | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
| 1014 | + | |
| 1015 | + | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
| 1022 | + | |
910 | 1023 | | |
911 | 1024 | | |
912 | 1025 | | |
| |||
0 commit comments