File tree Expand file tree Collapse file tree
.github/scripts/module-cleanup Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 GITHUB_OUTPUT - path to the GitHub Actions output file
1414 GH_TOKEN - token for `gh` CLI (set automatically by the workflow)
1515 REVIEW_PROGRESS - newline-separated list of processed module names
16- (contents of processed.txt on the memory branch, plus
17- shorts already in inflight module-cleanup PR bodies)
16+ (contents of processed.txt on the memory branch)
1817
1918Outputs (to $GITHUB_OUTPUT):
2019 has_work - "true" if a module was picked, "false" otherwise
Original file line number Diff line number Diff line change @@ -170,9 +170,8 @@ if [ "$SHOULD_FLUSH" = "true" ]; then
170170
171171 MODULE_COUNT=$( git -C " $WIP_WT " rev-list --count " origin/main..origin/$WIP_BRANCH " )
172172
173- # The dispatch job derives the inflight-module list from commit subjects
174- # on open module-cleanup PR branches ("Cleanup for <module>"), so no
175- # hidden marker block is needed here.
173+ # processed.txt on the memory branch is the sole source of truth for
174+ # which modules dispatch skips, so no hidden marker block is needed here.
176175 BODY_FILE=$( mktemp)
177176 {
178177 echo " Automated module-cleanup batch."
You can’t perform that action at this time.
0 commit comments