Skip to content

Skip packages whose inventory returns 403 in PR cleanup - #210

Merged
woksin merged 3 commits into
mainfrom
workflows-153-cleanup-403
Oct 25, 2026
Merged

woksin merged 3 commits into
mainfrom
workflows-153-cleanup-403

Conversation

@woksin

@woksin woksin commented Oct 24, 2026

Copy link
Copy Markdown
Contributor

Fixed

A 403 on one package's version listing no longer fails the whole job:
cleanup warns, skips that package without deleting anything from it, and
cleans up the rest. Manual apply still fails when a package was skipped,
and a 403 outside inventory still fails.

(cherry picked from commit cd921ba)
@woksin woksin added the patch label Oct 24, 2026
@woksin woksin self-assigned this Oct 24, 2026
@woksin

woksin commented Oct 24, 2026

Copy link
Copy Markdown
Contributor Author

Split out of #209: verify-package-updates refuses a package-update rollout bundled with a change that triggers Bootstrap Common Workflows.

Merging this PR changes .github/workflows/cleanup-pr-artifacts.yml on main, which triggers Bootstrap Common Workflows (organization-wide writes to default branches, per the README deployment boundary) and switches every @main caller to the new cleanup immediately. The merge is held until that deployment effect is explicitly authorized.

Test plan: cleanup-pr-artifacts.test.py (44 tests, incl. new 403-skip, skipped-package manual-apply failure and 403-outside-inventory cases) passes locally; full review (Opus + Sol) of the combined change passed with no blocking findings.

@woksin
woksin merged commit a55ee70 into main Oct 25, 2026
11 checks passed
@woksin
woksin deleted the workflows-153-cleanup-403 branch October 25, 2026 00:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant